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
Creating executable schemas from SDL with GraphQL.js/graphql-core-next is possible, but grafting resolvers, custom scalars and enums manually into the schema after creating it with build_schema is cumbersome (see e.g. #20) and has a smell of monkey-patching.
The makeExecutableSchema function of graphql-tools provides a better solution.
We should consider porting this functionality to Python as well, either as a separate packare or as a subpackage of graphql-core-next.
The text was updated successfully, but these errors were encountered:
FWIW I arrived here because I was looking for functionality that could "prune" a schema by removing unreachable types, similar to what's offered in graphql-tools
Creating executable schemas from SDL with GraphQL.js/graphql-core-next is possible, but grafting resolvers, custom scalars and enums manually into the schema after creating it with
build_schema
is cumbersome (see e.g. #20) and has a smell of monkey-patching.The
makeExecutableSchema
function of graphql-tools provides a better solution.We should consider porting this functionality to Python as well, either as a separate packare or as a subpackage of graphql-core-next.
The text was updated successfully, but these errors were encountered: