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

More OPA conformance #77

Merged
merged 1 commit into from
Dec 28, 2023
Merged

More OPA conformance #77

merged 1 commit into from
Dec 28, 2023

Conversation

anakrish
Copy link
Collaborator

  • object.union
  • object.union_n
  • treat negative integers as two separate tokens (Sub and Number) when seen in arithmetic expressions
  • Ensure that fully query string is parsed
  • Evaluate queries in a separate module instead of the last read module. This correctly handles queries of the form x = data.test.y where x is already a ref in data.test
  • Handle queries producing multiple outputs in test infrastructure
  • Add tests for engine
  • Add tests locking down valid queries
  • Update opa.passing

fixes #76
fixes #75
fixes #74
closes #73

- object.union
- object.union_n
- treat negative integers as two separate tokens (Sub and Number)
  when seen in arithmetic expressions
- Ensure that fully query string is parsed
- Evaluate queries in a separate module instead of the last read module.
  This correctly handles queries of the form `x = data.test.y` where x is
  already a ref in `data.test`
- Handle queries producing multiple outputs in test infrastructure
- Add tests for engine
- Add tests locking down valid queries
- Update opa.passing

Signed-off-by: Anand Krishnamoorthi <[email protected]>
@anakrish anakrish merged commit e549882 into microsoft:main Dec 28, 2023
2 checks passed
@anakrish anakrish deleted the ak-objects branch December 28, 2023 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant