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
The GraphiQL Explorer plugin is generating incorrect syntax for order_by arguments. When using the Explorer UI to add ordering fields, it generates an object syntax instead of the required array of objects syntax.
When using the Explorer to add ordering fields, it generates queries like this:
"data": null,
"errors": [
{
"message": "order_by expects a list of input objects with exactly one key-value pair per input object. Please split the input object with multiple key-value pairs into a list of single key-value pair objects."
}
]
}
Expected Behavior
The query should be generated with an array of objects syntax like this:
Is there an existing issue for this?
Current Behavior
The GraphiQL Explorer plugin is generating incorrect syntax for
order_by
arguments. When using the Explorer UI to add ordering fields, it generates an object syntax instead of the required array of objects syntax.When using the Explorer to add ordering fields, it generates queries like this:
It throws an error -
Expected Behavior
The query should be generated with an array of objects syntax like this:
Steps To Reproduce
Environment
react
Version: 0.21.0graphql
Version:Anything else?
No response
The text was updated successfully, but these errors were encountered: