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

feat: Lex JSON Pointers in Policy Expressions #403

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

cstepanian
Copy link
Contributor

Relates to #371

This change is the initial step towards integrating JSON Pointers as a native part of the Policy Expression language.

This should have no visible effect on the behavior of Hipcheck yet, as it's not possible for the lexer to read JSON Pointer syntax after the preprocessor strips them out.

Copy link
Collaborator

@j-lanson j-lanson left a comment

Choose a reason for hiding this comment

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

I like it! Just one thought.

hipcheck/src/policy_exprs/token.rs Outdated Show resolved Hide resolved
@j-lanson
Copy link
Collaborator

Since I'll be out tomorrow, feel free to have someone else review once you address the comment so you aren't blocked by my absence

@cstepanian cstepanian force-pushed the cstepanian/lex_jsonptr branch from ac203c0 to d2a820f Compare September 12, 2024 21:35
@cstepanian cstepanian requested a review from j-lanson September 12, 2024 21:42
This change is the initial step towards integrating JSON Pointers
as a native part of the Policy Expression language.

This should have no visible effect on the behavior of Hipcheck yet,
as it's not possible for the lexer to read JSON Pointer syntax after
the preprocessor strips them out.
@cstepanian cstepanian force-pushed the cstepanian/lex_jsonptr branch from d2a820f to 1f7f623 Compare September 12, 2024 23:08
@cstepanian cstepanian dismissed j-lanson’s stale review September 12, 2024 23:27

Requested changes have been addressed, and @j-lanson won't be available tomorrow to approve.

@cstepanian cstepanian merged commit 027d4ef into main Sep 12, 2024
9 checks passed
@cstepanian cstepanian deleted the cstepanian/lex_jsonptr branch September 12, 2024 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants