We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the search query helper if you set the sort option using the enum generated you get an error like: Query:
{ elastic(q: "hazelcast", limit: 3, sort:Id__raw__asc) { hits { ... } }
Response: "message": "Variable \"$_v1_sort\" got invalid value [{ Id.raw: \"asc\" }]; Expected type elasticSortEnum at value[0]."
"message": "Variable \"$_v1_sort\" got invalid value [{ Id.raw: \"asc\" }]; Expected type elasticSortEnum at value[0]."
It seems that the lib convert the enum to string too early in the process and the graphql parser which expect an Enum get a String instead.
The text was updated successfully, but these errors were encountered:
Please advise for the workaround of sort enum?
Sorry, something went wrong.
No branches or pull requests
When using the search query helper if you set the sort option using the enum generated you get an error like:
Query:
Response:
"message": "Variable \"$_v1_sort\" got invalid value [{ Id.raw: \"asc\" }]; Expected type elasticSortEnum at value[0]."
It seems that the lib convert the enum to string too early in the process and the graphql parser which expect an Enum get a String instead.
The text was updated successfully, but these errors were encountered: