No way to use the graphql schema language
See original GitHub issueAm I missing something, or is there no way to take advantage of the handy graphql schema definition language? It would be great to be able to use the schema language in the same way the javascript implementation does (with buildschema
, I think).
Issue Analytics
- State:
- Created 6 years ago
- Reactions:10
- Comments:8
Top Results From Across the Web
Schemas and Types - GraphQL
We'll use the "GraphQL schema language" - it's similar to the query language, and allows us to talk about GraphQL schemas in a...
Read more >GraphQL schema basics - Apollo GraphQL Docs
The GraphQL specification defines a human-readable schema definition language (or SDL) that you use to define your schema and store it as a...
Read more >An Introduction to GraphQL: Schema, Resolvers and More
The schema is written using the GraphQL schema language (also called schema definition language, SDL). With it, you can define object types ......
Read more >How not to learn GraphQL – The Guild
A good GraphQL Schema design should: simplify the usage by providing the proper abstractions (ex: aggregated fields, atomic mutation across ...
Read more >GraphQL SDL — Schema Definition Language - Prisma
GraphQL has its own language to write GraphQL Schemas: The GraphQL Schema Definition Language (SDL). SDL is simple and intuitive to use ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
…and even that’s unnecessary, as the
__str__
method ofgraphene.Schema
already does this.There is a way, but not in Graphene.
Then, in theory you can use
graphql(schema, root_value=resolvers)
to execute.I tested parse the schema file to graphql schema, but not execute with my own resolvers yet.