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
... to my best knowledge, my idea wouldn't break something for other users
... the documentation does not mention anything about my idea
... there are no open or closed issues that are related to my idea
Description
The mapping from graphql schema type to Java implementation type/class is held in a private member variable dictionary within the SchemaParser class. It would be useful to have the information about this mapping easily accessible (though directly immutable) to clients of the API either through the SchemaParser itself, or the GraphQLSchema that gets finally generated.
Use Cases
This change would enable easier unit/integration testing of applications relying on graphql-java-tools to generate schemas from files. For example, a specific test I need to write must verify that the enum options listed in the schema exactly match the enum options available in the related Java type.
The text was updated successfully, but these errors were encountered:
I want to suggest an idea and checked that ...
Description
The mapping from graphql schema type to Java implementation type/class is held in a private member variable
dictionary
within theSchemaParser
class. It would be useful to have the information about this mapping easily accessible (though directly immutable) to clients of the API either through theSchemaParser
itself, or theGraphQLSchema
that gets finally generated.Use Cases
This change would enable easier unit/integration testing of applications relying on
graphql-java-tools
to generate schemas from files. For example, a specific test I need to write must verify that theenum
options listed in the schema exactly match the enum options available in the related Java type.The text was updated successfully, but these errors were encountered: