Notes moved from graph-gophers/graphql-go#15
Graphql-js can parse directives like @live
just fine -
parsed.definitions[0].selectionSet.selections[0].selectionSet.selections[0].directives[0] =
{ kind: 'Directive',
name: { kind: 'Name', value: 'live', loc: { start: 26, end: 30 } },
arguments: [],
loc: { start: 25, end: 30 } }