Skip to content

Commit 6fbbb12

Browse files
committed
Pick up missing directives in operation definitions
1 parent 0e28646 commit 6fbbb12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/GraphQLGrammar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ struct operation_name
445445

446446
// https://facebook.github.io/graphql/June2018/#OperationDefinition
447447
struct operation_definition
448-
: sor<if_must<operation_type, seq<opt<seq<plus<ignored>, operation_name>>, opt<seq<star<ignored>, variable_definitions>>, star<ignored>, selection_set>>
448+
: sor<if_must<operation_type, seq<opt<seq<plus<ignored>, operation_name>>, opt<seq<star<ignored>, variable_definitions>>, opt<seq<star<ignored>, directives>>, star<ignored>, selection_set>>
449449
, selection_set>
450450
{
451451
};

0 commit comments

Comments
 (0)