We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example:
@GQLDUda(TypeKind.INTERFACE) abstract class I { string name; } class C1 : I { long val; } class C2 : I { string val; } struct SubType { I getc1(); I getc2(); } struct Query { SubType subType(); } class Schema { Query queryType; }
If I do a query like:
query { subType { getc1 { ... on C1 { val } } }
I get an error that type C1 is not recognized in the schema. I have to add some dummy values in the schema to get the introspection to work:
struct SubType { NullableStore!C1 c1dontuse; NullableStore!C2 c2dontuse; I getc1(); I getc2(); }
the library should provide a mechanism (probably a UDA) that adds concrete types for interfaces.
The text was updated successfully, but these errors were encountered:
39e9875
No branches or pull requests
Example:
If I do a query like:
I get an error that type C1 is not recognized in the schema. I have to add some dummy values in the schema to get the introspection to work:
the library should provide a mechanism (probably a UDA) that adds concrete types for interfaces.
The text was updated successfully, but these errors were encountered: