-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax args validation, and remove getOwner requirement (#2)
The previous args validation was too strict, and did not permit passing proxies like `this.args`. With this relaxation, the full set of parent component args can now be easily passed down to the child. Passing an empty object as the owner for `curry()` seems to work ok, and matches [usage in `glimmer-vm`](https://github.com/glimmerjs/glimmer-vm/blob/5507a1febc/packages/%40glimmer-workspace/integration-tests/lib/modes/jit/register.ts#L171). So we can drop the awkward `getOwner()` requirement.
- Loading branch information
1 parent
1d99db7
commit 49290a6
Showing
9 changed files
with
165 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,5 +81,8 @@ | |
}, | ||
"ember": { | ||
"edition": "octane" | ||
}, | ||
"dependencies": { | ||
"ember-async-data": "^1.0.3" | ||
} | ||
} |
Oops, something went wrong.