-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(editor) Scoped variables show destructured parameters.
- Added `propertiesExposedByParam` utility function. - Added `findContainingComponent` utility function. - `getVariablesInScope` now finds the correct component and not just the first one. - Fixed `applyPropsParamToPassedProps` to correctly handle destructured values and repeated field usages. - `createComponentRendererComponent` includes values exposed by the props param when building `spiedVariablesInScope`.
- Loading branch information
1 parent
da77530
commit f02c2cc
Showing
6 changed files
with
422 additions
and
38 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
Oops, something went wrong.