Create a schema with custom directives first change for #156 #1314
Create a schema with custom directives first change for #156 #1314MarcoFuykschot wants to merge 2 commits intographql-rust:masterfrom
Conversation
There was a problem hiding this comment.
First change for #156
Could you provide some grand vision/description of how it's supposed to work? And what would be the next steps?
From the provided example in the code and PR description, it's not very clear.
Step 1: is allow custom directives, added to a schema to pass validation. |
ed11cc0 to
4e58054
Compare
Could you sketch your vision of API? |
|
For the api, i have two idea's
Both i still need to reseach the code, on how to implement this in a non breaking way. |
modified: juniper/src/schema/model.rs#
modified: juniper/src/schema/translate/graphql_parser.rs
Added new function to create a schema with custom directives
Added doctest
Added directives to be included in the schema output
4e58054 to
46eee82
Compare
(feat) create schema with custom directives
First change for #156