-
Notifications
You must be signed in to change notification settings - Fork 94
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
GraphQL schema is not generated when response type has Generics (Nested field) #1928
Comments
I've extended this generics example a little bit to be used with mutations, like this:
The example above seems to be working just fine. But if I change the parameterized type to Long, it will throw the same exception reported on this issue. Here is the example:
It seems this Long problem is specific for the mutation, because if I leave just the query, it works. Should we reopen this issue? Or open a new one? |
Please open a new issue and we'll have a look |
Hi,
I'm using the following code to generate GraphQL query. The nested field in response type has Generic type (Java Generics). Due to this schema is not generated automatically and getting exception
graphql.AssertException: type Object not found in schema
during startup.Here is my Example Code:
Exception:
Could you assist to me resolve the issue?
The text was updated successfully, but these errors were encountered: