strawberry icon indicating copy to clipboard operation
strawberry copied to clipboard

Add documentation for query directives

Open patrick91 opened this issue 2 years ago • 1 comments

We only have documentation for schema directives, we should document query directives, here's an example of how they work: https://github.com/strawberry-graphql/strawberry/blob/main/tests/schema/test_directives.py

patrick91 avatar May 07 '22 02:05 patrick91

We should call them operation directives, to stay consistent with other docs/articles:

  • https://www.apollographql.com/docs/apollo-server/schema/directives/#schema-directives-vs-operation-directives
  • https://stepzen.com/blog/graphql-directives
  • https://css-tricks.com/working-with-built-in-graphql-directives/

patrick91 avatar Aug 05 '22 20:08 patrick91

Should this be closed with the merge of https://github.com/strawberry-graphql/strawberry/pull/2728?

bradleyoesch avatar Aug 29 '23 16:08 bradleyoesch