Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throws when an Input type is used for an Output field #99

Open
kumarharsh opened this issue Feb 5, 2018 · 0 comments
Open

Throws when an Input type is used for an Output field #99

kumarharsh opened this issue Feb 5, 2018 · 0 comments
Labels
Milestone

Comments

@kumarharsh
Copy link
Contributor

If by mistake I use an Input type for an output field, the whole plugin crashes and I have to reload the window.

Stack:

Error: SomeQueryType.someOutputField field type must be Output Type but got: SomeInputField.
    at invariant (d:\...\node_modules\@playlyfe\gql\node_modules\graphql\jsutils\invariant.js:19:11)
    at d:\...\node_modules\@playlyfe\gql\node_modules\graphql\type\definition.js:337:29
    at Array.forEach (native)
    at defineFieldMap (d:\...\node_modules\@playlyfe\gql\node_modules\graphql\type\definition.js:328:14)
    ...
Mayank1791989 added a commit that referenced this issue Apr 18, 2018
BREAKING_CHANGE: structure of .gqlconfig file changed.

closes #3, closes #23, closes #28, closes #45, closes #52, closes #62, closes #99, closes #100, closes #115
Mayank1791989 added a commit that referenced this issue Apr 30, 2018
BREAKING_CHANGE: structure of .gqlconfig file changed.

closes #3, closes #23, closes #28, closes #45, closes #52, closes #62, closes #99, closes #100, closes #115
@Mayank1791989 Mayank1791989 added this to the v3 milestone Jul 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants