Open tim-tmp opened 4 days ago
We are developing an Azure Static Web App with a CosmosDB accessed via GraphQL queries using the feature outlined here: https://learn.microsoft.com/en-us/azure/static-web-apps/database-overview
When including caseInsensitive on a GraphQL query we get the following error:
"Operation caseInsensitive on int type not supported."
The caseInsensitive input field exists in the schema which Postman validates also.
` StringFilterInput
{ "name": "caseInsensitive", "description": "Case Insensitive", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" },
`
The query we are using is: { records: assets( filter: { Title: { contains: "hello world", caseInsensitive: true } }, first: 10 ) { items { id, Title } endCursor hasNextPage __typename } }
{ records: assets( filter: { Title: { contains: "hello world", caseInsensitive: true } }, first: 10 ) { items { id, Title } endCursor hasNextPage __typename } }
0.10
CosmosDB NoSQL
Static Web Apps (SWA)
GraphQL
Operation caseInsensitive on int type not supported.
What happened?
We are developing an Azure Static Web App with a CosmosDB accessed via GraphQL queries using the feature outlined here: https://learn.microsoft.com/en-us/azure/static-web-apps/database-overview
When including caseInsensitive on a GraphQL query we get the following error:
"Operation caseInsensitive on int type not supported."
The caseInsensitive input field exists in the schema which Postman validates also.
` StringFilterInput
`
The query we are using is:
{ records: assets( filter: { Title: { contains: "hello world", caseInsensitive: true } }, first: 10 ) { items { id, Title } endCursor hasNextPage __typename } }
Version
0.10
What database are you using?
CosmosDB NoSQL
What hosting model are you using?
Static Web Apps (SWA)
Which API approach are you accessing DAB through?
GraphQL
Relevant log output
Code of Conduct