-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
acceptance: go aheadReviewed, implementation can startReviewed, implementation can startarea: selectorSupport for a JSONPath selectorSupport for a JSONPath selectortype: featureNew feature or requestNew feature or request
Milestone
Description
Is your feature request related to a problem? Please describe.
After #154, we can extend filters to test against a constant atomic value.
Describe the solution you'd like
This is easy, as the spec requires codepoint, bitwise comparison of strings, so no unicode handling comes into play. We do need parsing of integer values inside the JSON, since floating point comparison is not easy to do without actually parsing the number.
Additionally, there are "dumb" filters that should be handled this as well, like [?42 == 42] or [?42 != 42], so either always satisfied or never satisfied. These can just be collapsed to either not emitting a filter at all, or emitting an empty query matching nothing.
Additional context
RFC draft.
amotl
Metadata
Metadata
Assignees
Labels
acceptance: go aheadReviewed, implementation can startReviewed, implementation can startarea: selectorSupport for a JSONPath selectorSupport for a JSONPath selectortype: featureNew feature or requestNew feature or request
Type
Projects
Status
Todo