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

Fix odata startswith and endswith filters #248

Merged
1 commit merged into from
Apr 11, 2023
Merged

Conversation

ghost
Copy link

@ghost ghost commented Apr 11, 2023

Description

This fixes startswith and endswith filters by ensuring that we're getting the SQL representation of the string field and not the JSON representation of the string with builtin quotes. To prevent regressions this commit also adds missing unit tests for these filters.

Type of Change

[X] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

This fixes startswith and endswith filters by ensuring that we're
getting the SQL representation of the string field and not the JSON
representation of the string with builtin quotes. To prevent regressions
this commit also adds missing unit tests for these filters.
@ghost ghost self-requested a review as a code owner April 11, 2023 07:48
@ghost ghost merged commit 3457fa5 into main Apr 11, 2023
@ghost ghost deleted the fix_startswith_endswith branch April 11, 2023 09:51
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants