You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The SchemaGeneratorHooks.willGenerateGraphQLType method is called when generating both input and output types, but the context of the call is not known and it is not clear which graphql type is expected. The problem occurs when the same KType is used for both input and output.
Describe the solution you'd like
It would be better to change the signature of the method to willGenerateGraphQLType(type: KType, typeInfo: GraphQLKTypeMetadata). The typeInfo is already known in the call context: