Skip to content

Commit 25de30e

Browse files
authored
Merge pull request #4409 from esl/fix-graphql-schema
Fix definition of the 'protected' GraphQL directive The type argument had wrong type. As a result, our docs started failing on the latest spectaql@3.0.3
2 parents a8aa910 + 0831969 commit 25de30e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

priv/graphql/schemas/global/protected_dir.gql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
"Marks the resource to be accessed only by authorized requests"
2-
directive @protected (type: String = DEFAULT, args: [String!] = []) on FIELD_DEFINITION | OBJECT | INTERFACE
2+
directive @protected (
3+
type: ProtectedType = DEFAULT
4+
args: [String!] = []
5+
) on FIELD_DEFINITION | OBJECT | INTERFACE
36

47
enum ProtectedType{
58
DEFAULT

0 commit comments

Comments
 (0)