Skip to content

Commit bdf3ec9

Browse files
committed
add declaration of export directive lost in an earlier merge (issue #115)
1 parent 2aeed97 commit bdf3ec9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphql-api-generator/utils/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,7 @@ def print_schema_with_directives(schema):
12211221
:return string:
12221222
"""
12231223
manual_directives = {
1224+
'directive': 'directive @export(as: String!) on FIELD',
12241225
'required': 'directive @required on FIELD_DEFINITION',
12251226
'key': 'directive @key(fields: [String!]!) on OBJECT | INPUT_OBJECT',
12261227
'distinct': 'directive @distinct on FIELD_DEFINITION | INPUT_FIELD_DEFINITION',

0 commit comments

Comments
 (0)