-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GraphQlReader, generalise union handling
This workaround handles a bug where parseTypes also contains the data from below it ``` union X = Y | Z type foo {} ``` Would return ```php [ 'x' => 'union X = Y | Z type foo {}' ] ``` instead of ```php [ 'x' => 'union X = Y | Z', 'foo' => 'type foo {}' ] ``` This workaround deals only with union types, so doesnt materially affect anything in most cases.
- Loading branch information
1 parent
603963e
commit c36fb66
Showing
1 changed file
with
51 additions
and
21 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