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

Cannot read property 'getFields' of undefined #3

Closed
Hasan-git opened this issue Nov 5, 2018 · 2 comments
Closed

Cannot read property 'getFields' of undefined #3

Hasan-git opened this issue Nov 5, 2018 · 2 comments

Comments

@Hasan-git
Copy link

Need help please !

capture

@timqian
Copy link
Owner

timqian commented Nov 5, 2018

@Hasan-git Can you provide a schema which can reproduce this error? I think its todo with the schema

@Hasan-git
Copy link
Author

Hasan-git commented Nov 5, 2018

schema {
query: Query
mutation: TenantMutation
}
......
......

type TenantMutation {
createLocation(location: LocationInput!): Location
createLookup(lookup: LookupInput!): Lookup
createLookups(lookups: [LookupInput]!): [Lookup]
}

the problem is going over there ^^^^, whenever I delete mutation it works, and queries will be created successfully !!

when I change "TenantMutation" to "mutation" it works too

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

No branches or pull requests

2 participants