-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add forwards compatibility for v2 args (#587)
- Loading branch information
1 parent
6698b2b
commit 9bc4a92
Showing
1 changed file
with
4 additions
and
2 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
9bc4a92
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.
@mdonnalley I'm a little confused how this will work since with v2 the args object doesn't have a name property. For instance, according to #539 we would have:
v1:
v2:
Object.values for the v2 args would return the following array:
Am I missing something?
9bc4a92
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.
Instead I would expect something like the following: