Closed
Description
#518 by @giautm added a new feature that's shipping in 2.13.0, we need docs for it though! I propose a new page called "Schema directives" to document this stuff.
- There are some docs in the PR description here: Need docs for directive resolvers #530
- Also, some use cases in the original issue: makeExecutableSchema should permit directives #212
- Also, examples can be taken from the tests: https://github.com/apollographql/graphql-tools/blob/cc69bb1556893c9828448470036d02932e3b01a8/src/test/testSchemaGenerator.ts#L2024
To run the docs:
- Go to
/docs
in the repo git submodule init && git submodule update
npm install
npm start
Adding a page can be done by:
- Adding a file in the
docs/source
directory - Adding an entry with the filename to
docs/_config.yml
- Don't forget to put the title/description like so: https://raw.githubusercontent.com/apollographql/graphql-tools/master/docs/source/mocking.md