Azure / Azure/data-api-builder

[Feature] Add support for case insensitive comparison in filter

Open
#2,671 2 comments 1 reaction 0 assignees View on GitHub
move-to-close
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

When using filters with DAB GraphQL, it relies on case sensitive filtering with various operators such as `eq`, `neq`, `contains` etc. I would like to be able to do case insensitive comparison when using filters.

We could add support for a caseInsensitive operator along the filter operator to support this usecase.
For e.e.g
```
{
publicholis (filter: {
holidayName: {
eq: "Ascension"
caseInsensitive: true
}
}) {
items {
holidayName
countryOrRegion
}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.