-
-
Notifications
You must be signed in to change notification settings - Fork 33
Refactoring of QueryMatchFilter and provide greater support for JSONPath spec #79
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
21 commits
Select commit
Hold shift + click to select a range
da06e37
Simplify operation with a match statement
lucasnetau 5bf7b3a
Fix catching of malformed JSON when JSON_THROW_ON_ERROR flag is set
lucasnetau f8d9b98
Enable strict comparison by parsing the comparable with JSON decode t…
lucasnetau 422dca0
Simplify the null comparable check
lucasnetau 9d9c302
Fix consensus result, needs to be an array
lucasnetau 5443c2c
LHS value of {"some":"value"} is Nothing, cannot compare to numerical…
lucasnetau 79ff5c6
Add in additional test cases from the RFC for null handling
lucasnetau 955cb78
Keep track if we have a nothing result or a value including null
lucasnetau 5e53f98
Update failed queries baseline
lucasnetau 627dedb
Implement == and < comparisons and then the derivative !=, <=, >, >= …
lucasnetau d206f9a
Update failed baseline to include tests that throw malformed or path …
lucasnetau 77e8c50
Support negation of entire filter with or without wrapping parentheses
lucasnetau 618b081
Simple support for boolean AND operator
lucasnetau de9a971
Handle standalone @ for selecting current node as value
lucasnetau 01b94a8
Handle filter expression on current object
lucasnetau ab48e26
Update QueryTest to detect baselineFailed tests that now pass. Modify…
lucasnetau e78d936
Cleanup commented out code
lucasnetau 78581c2
Add support for logical OR expressions, add support for Grouping
lucasnetau e2ad48b
Applied small optimizations, and fixes
SoftCreatR 3d4fe01
Fixed tests
SoftCreatR 9aab673
Update CHANGELOG.md
lucasnetau 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
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.
Potential risk with error-suppressed regex.
Using
@\preg_match($comparisonValue, $selectedNode)may hide warnings or errors from invalid user-supplied patterns. This can raise security and debugging concerns. Consider removing error suppression or validating patterns ahead of time.