-
Notifications
You must be signed in to change notification settings - Fork 50
feat(Filter): add is-not-equal and does-not-contain operator #1718
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0cbd868
feat(Filter): add is-not-equal operator
blizzz d469866
Add does-not-contain filter in backend
silverkszlo f932a52
DoesNotContain in filters.js
silverkszlo 5cfa3cc
prevent usage of multiple identical DoesNotContain filters
silverkszlo f8a5751
add DoesNotContain as filterMethod to respective columnTypes
silverkszlo 3b2ae6f
generate openapi scheme
silverkszlo de148e2
add IsNotEqual as filterMethod to respective columnTypes
silverkszlo ae73bda
add IsNotEqual filter to selectionCheckColumn and refactor
silverkszlo a5070c9
correct format in datetime and and adjust comment
silverkszlo e4f0753
refactor and extend unit testing for Row2Mapper
silverkszlo 95d2aad
include TestDependencies in bootstrap.php
silverkszlo 72780ec
handle missing columns in findAll and getFilterExpression
silverkszlo 19d7aa0
correct and refactor row2mapper tests
silverkszlo b790d41
lint row2mapper test files
silverkszlo c09a5eb
cypress tests for is-not-equal and does-not-contain
silverkszlo a8fae2d
Fix: make filter expressions null-safe to avoid deprecation warnings
silverkszlo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason behind this change on the Mapper level (and the other switches to
InternalErrorin this class)?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be fair, those changes may be slightly out of the scope of this PR and were more of a 'refactor-while-passing-by'. I added them primarily to make the functions more robust. By catching and logging DoesNotExistException and then throwing a controlled InternalError, the idea is to prevent unhandled exceptions from crashing the application and to make debugging easier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK