Skip to content
New issue

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

[Bug]: filter endsWith: "_" is incorrectly resolved #2434

Open
1 task done
martinb-mpreis opened this issue Oct 21, 2024 · 0 comments
Open
1 task done

[Bug]: filter endsWith: "_" is incorrectly resolved #2434

martinb-mpreis opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working triage issues to be triaged
Milestone

Comments

@martinb-mpreis
Copy link

What happened?

I created a query like

query Customers{
    customer(
        filter: { id: {endsWith: "_CON" } }
    ) {
        endCursor
        hasNextPage
        items {
            id
        }
    }
}

I received an empty json response, although the database contains customers with ids ending like "_CON".

I investigated the SQL queries the database receives and found this.

WHERE Id LIKE '%\_CON'

Version

1.2.11+c7ca8db8558a63919c530e454c8f18b45d5b931c

What database are you using?

Azure SQL

What hosting model are you using?

Container Apps, Local (including CLI)

Which API approach are you accessing DAB through?

GraphQL

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@martinb-mpreis martinb-mpreis added bug Something isn't working triage issues to be triaged labels Oct 21, 2024
@abhishekkumams abhishekkumams added this to the 1.4 milestone Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage issues to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants