-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Details - If a parameter of a @wire decorator contains an imported reference, this adds support for tracking of such metadata. For example `@wire(getRecord, { recordId: id })`, where userId is imported: `import id from '@salesforce/user/id'`; - static 1st order references to a literal constant are now resolved, e.g. ```js const foo = '123'; @wire(getRecord, { parameter: foo }); ``` - In addition to strings, adds support for booleans and numbers - If a parameter is unresolved, adds it to metadata with type 'unresolved' - Adds type to resolved references/expressions - If an array contains an unresolved identifier/expression, marks the array as unresolved - Updates to test suite and various bug fixes ## Does this PR introduce a breaking change? * [ ] Yes * [X] No
- Loading branch information
sfdciuie
authored
Sep 14, 2018
1 parent
fb35d0d
commit 4920a4e
Showing
3 changed files
with
215 additions
and
15 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