When running the ppx on this mutation
module AddEntry = %graphql(`
mutation addEntry($body: String! @encrypted) {
insert_entries_one(object: { body: $body}) {
id
body
}
}
`)
I get
3 ┆
4 ┆ module AddEntry = %graphql(`
5 ┆ mutation addEntry($body: String! @encrypted) {
6 ┆ insert_entries_one(object: { body: $body}) {
7 ┆ id
Unexpected token @
This is supported by the graphql spec: graphql/graphql-spec#510