-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSONSelection] Add
->mapValues
method to future::
namespace.
PR #6185 removed support for the following syntax for preserving dynamic keys of dictionary objects while mapping their values: ```graphql booksByISBN: books { * { title author }} ``` As suggested in the description of PR #6185, this pattern can be replaced with a `->mapValues` method call: ```graphql booksByISBN: books->mapValues(@ { title author }) ``` This PR tentatively implements that `->mapValues` method, filing it away in the `future::` namespace to indicate it hasn't been shipped yet.
- Loading branch information
Showing
3 changed files
with
120 additions
and
0 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