lib/graphql/language/parser.y in graphql-1.8.0.pre10 vs lib/graphql/language/parser.y in graphql-1.8.0.pre11

- old
+ new

@@ -274,10 +274,10 @@ schema_definition | type_definition | directive_definition schema_definition: - SCHEMA LCURLY operation_type_definition_list RCURLY { return make_node(:SchemaDefinition, position_source: val[0], **val[2]) } + SCHEMA directives_list_opt LCURLY operation_type_definition_list RCURLY { return make_node(:SchemaDefinition, position_source: val[0], directives: val[1], **val[3]) } operation_type_definition_list: operation_type_definition | operation_type_definition_list operation_type_definition { return val[0].merge(val[1]) }