Files
test-repo/tests/graphql_directive_decl/directive_decl.graphql
T
Christopher Chedeau 019beb54e5 GraphQL: Fix directives separator (#2315)
I couldn't figure out what the separator was, I tried `,`, `on` but none of them worked. Turns out it is `|`!
2017-06-27 19:58:38 -07:00

7 lines
254 B
GraphQL

directive @a on FIELD1
directive @a(as: String) on FIELD1
directive @a(as: String = 1) on FIELD1
directive @a(as: String, b: Int!) on FIELD1
directive @a(as: String! = 1 @deprecated) on FIELD1
directive @a(as: String! = 1 @deprecated) on FIELD1 | FIELD2