You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to use example from here, for instance:
{
protected(message: "hello", token: "my access token")
}
but I've got
{
"errors": [
{
"message": "Field \"protected\" of type \"ProtectedUnion\" must have a sub selection.",
"locations": [
{
"line": 2,
"column": 3
}
]
},
{
"message": "Unknown argument \"message\" on field \"protected\" of type \"Query\".",
"locations": [
{
"line": 2,
"column": 13
}
]
}
]
}
Working case I was able to achieve only with query:
{
protected(token: "my access token") {
... on MessageField {
message
}
}
}
Also I've managed to make the protected mutation with
mutation {
protected(token: "my access token") {
message {
... on MessageField {
message
}
}
}
}
I don’t know what it is connected with, but if it's now the valid way, it should be reflected in docs. Last case especially :)
The text was updated successfully, but these errors were encountered:
I've tried to use example from here, for instance:
but I've got
Working case I was able to achieve only with query:
Also I've managed to make the protected mutation with
I don’t know what it is connected with, but if it's now the valid way, it should be reflected in docs. Last case especially :)
The text was updated successfully, but these errors were encountered: