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
queryname1 {
star {
id
}
}
queryname2 {
star {
id
}
}
With the following error:
Syntax Error GraphQL (1:1) Unexpected <EOF>
1:
^
I can also see similar errors given this input:
query {
star {
id
}
}
queryname2 {
star {
id
}
}
Which results in
{
"data": null,
"errors": [
{
"message": "This anonymous operation must be the only defined operation.",
"locations": [
{
"line": 1,
"column": 1
}
],
"path": null
}
]
}
I do note a few odd behaviors here.
Refreshing the page should preserve the queries, it doesn't and gives me a fresh welcome screen or an incorrectly edited version of the query.
Naming queries at all seems unsupported, but other instances of GraphiQL seem to support this without issue.
The GraphiQL playground handler supports named queries without issue.
No change to code base, this is all working correctly with starlette's provided GUI client. But release notes indicate that this support is deprecated.
The text was updated successfully, but these errors were encountered:
Recently switched over to running Starlette to get working subscriptions, but I've run into a very strange bug.
Versions:
Running our app as follows
Expected behavior:
Running the following in GraphiQL works:
This works as well:
This fails:
With the following error:
I can also see similar errors given this input:
Which results in
I do note a few odd behaviors here.
The text was updated successfully, but these errors were encountered: