GraphSchemaTools
GraphSchemaTools copied to clipboard
GraphSchema GraphQL info and related tooling
Exploring this and i'm noticing that when i run: ``` ./graphschema.sh init-dgraph --schema-file AuthorPosts.graphql --dgraph-alpha "docker.for.mac.localhost:9080" --force --verbose ``` I receive: ``` Installing schema file /data/AuthorPosts.graphql into Dgraph alpha docker.for.mac.localhost:9080....
I think restrictions in underlying libs mean that all fields must be in camel case. at the moment: - Fields must start with lower case - Types can start with...
In progress - [ ] Further GraphQL spec compliance (https://github.com/MichaelJCompton/GraphSchemaTools/issues/2) - [ ] Fully checking schemas on input (https://github.com/MichaelJCompton/GraphSchemaTools/issues/5) - [ ] Update mutations soon - [ ] hosting GraphSchema...
The code for validation of the input schema is in flux and isn't hooked up in the current version. So GraphSchema will accept any schema (even if it doesn't match...
Currently mutations aren't check for correctness. For example, a mutation using the AuthorPosts example, adds a post with ``` { "input": { ... "author": { "uid": "0x22" } } }...
E.G. if a query has no errors, it'll return ``` { "data": {...}, "errors": [] } ``` but the spec says it shouldn't have the `errors` at all. Also need...