Skip to content

Fix NPE on Root level types#3

Open
micovery wants to merge 1 commit intoapigee:masterfrom
micovery:fix_npe_on_root_types
Open

Fix NPE on Root level types#3
micovery wants to merge 1 commit intoapigee:masterfrom
micovery:fix_npe_on_root_types

Conversation

@micovery
Copy link

If you provide a schema that does not have
either the Query or the Mutation root type
the script errors out.

This fix makes it so that it does not error
out. Instead it skips the missing type, or
if both types are missing, it will output
an empty entitlements map.

If you provide a schema that does not have
either the Query or the Mutation root type
the script errors out.

This fix makes it so that it does not error
out. Instead it skips the missing type, or
if both types are missing, it will output
an empty entitlements map.
@micovery
Copy link
Author

@akoo1010 , @dfeuer could you take a look at this and merge. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant