I have the same issue but with query now.
OperationException(linkException: null, graphqlErrors: [GraphQLError(message: Operations not allowed – [__typename], locations: null, path: null, extensions: null)])
I use graphql 5.1.1 library for flutter.
Corresponding issue is described here.
https://github.com/zino-hofmann/graphql-flutter/issues/784#issuecomment-749005581
and I recreated it in the explorer:
query getUserProfile($username: String!) {
__typename
getUser(username: $username) {
__typename
username
}
}
returns
{
"data": null,
"errors": [
{
"message": "Operations not allowed -- [__typename]"
}
]
}
Mutation does not work either so maybe it was not merged into the cloud.
mutation MyMutation2($name: String = "", $country: String = "") {
__typename
addCity(input: {name: $name, country: {name: $country}}) {
__typename
city {
id
name
}
}
}
{
"data": null,
"errors": [
{
"message": "Operations not allowed -- [__typename]"
}
]
}
type Country{
id: ID!
name: String
region: [Region!] @hasInverse(field: country)
cities: [City!] @hasInverse(field: country)
}
type Region{
id: ID!
name: String
country: Country @hasInverse(field: region)
guide: [Guide]
}
type City{
id: ID!
name:String
country: Country! @hasInverse(field:cities)
location: Point
}