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

Introduce a Constraint struct to bridge Query user input and Conditions #930

Merged
merged 5 commits into from
Oct 22, 2024

Conversation

jcrossley3
Copy link
Contributor

@jcrossley3 jcrossley3 commented Oct 18, 2024

Fixes #934

This refactoring clarifies the logic in Filter::parse, hopefully, and opens the door to facilitating access to the parsed components of the Query, useful in the analysis module

This refactoring clarifies the logic in Filter::parse, hopefully, and
opens the door to facilitating access to the parsed components of the
Query, useful in the analysis module

Signed-off-by: Jim Crossley <[email protected]>
Should make it easier to apply the Query syntax to any context defined
by a HashMap of strings. Cleans up the analysis endpoint logic
considerably, I think.

Signed-off-by: Jim Crossley <[email protected]>
@jcrossley3 jcrossley3 marked this pull request as ready for review October 21, 2024 23:24
Copy link
Collaborator

@JimFuller-RedHat JimFuller-RedHat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jcrossley3 jcrossley3 added this pull request to the merge queue Oct 22, 2024
Merged via the queue into trustification:main with commit 494acd5 Oct 22, 2024
4 checks passed
@jcrossley3 jcrossley3 deleted the query-refactor branch October 22, 2024 13:06
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.

Enable Query struct to filter contexts other than SQL
2 participants