-
-
Notifications
You must be signed in to change notification settings - Fork 788
refactor(transformer): shorten code #6809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @overlookmotel and the rest of your teammates on |
CodSpeed Performance ReportMerging #6809 will not alter performanceComparing Summary
|
Dunqing
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to say the BoundIdentifier is so great!
Merge activity
|
Use `BoundIdentifier::create_binding_pattern`, rather than writing out the code to create a `BindingPattern` manually each time.
2ea8513 to
b8dfa19
Compare
I still think we can improve the API. I would prefer methods on the AST types e.g. |
Yes, that would be better, but unfortunately, we can't get the |
Yeah we need to switch |

Use
BoundIdentifier::create_binding_pattern, rather than writing out the code to create aBindingPatternmanually each time.