-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graphql tags no longer produce implicit objects
Summary: This changes the babel plugin to no longer produce an implicit object in some cases. Previously, if a `graphql` tag was not somewhere in an object literal in the parent path, it would produce an object with the name of the fragment after the first `_` (defaulting to `data`) as the key. If these rules sound complicated and confusing to you, you're probably not alone. That's why we're removing this case and simplifying the transform. Reviewed By: josephsavona, jstejada Differential Revision: D14247660 fbshipit-source-id: b2567dc7879ed85e560fce595d160d5eacef305d
- Loading branch information
1 parent
92514aa
commit 1f26086
Showing
32 changed files
with
300 additions
and
1,223 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
Oops, something went wrong.