Skip to content
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

Provide graphql-tools functionality in Python #27

Closed
Cito opened this issue Mar 11, 2019 · 4 comments
Closed

Provide graphql-tools functionality in Python #27

Cito opened this issue Mar 11, 2019 · 4 comments
Labels
discussion Needs more discussion

Comments

@Cito
Copy link
Member

Cito commented Mar 11, 2019

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.

@Cito Cito added the discussion Needs more discussion label Mar 11, 2019
@patrys
Copy link
Contributor

patrys commented Mar 18, 2019

You might want to take a look at https://github.com/mirumee/ariadne 😄

@Cito
Copy link
Member Author

Cito commented Mar 19, 2019

@patrys - thanks, wasn't aware that this existed. Nice! Will definitely look into that. Maybe it will suffice mentioning this in the documentation.

@Cito
Copy link
Member Author

Cito commented May 2, 2019

I have mentioned Ariadne now in the README.

@Cito Cito closed this as completed May 2, 2019
@jberryman
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Needs more discussion
Projects
None yet
Development

No branches or pull requests

3 participants