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

Add support for yaml.marshal and yaml.is_valid #103

Merged
merged 5 commits into from
Dec 12, 2021

Conversation

aron
Copy link
Contributor

@aron aron commented Dec 10, 2021

This continues on the work done in #100 to add support for yaml.unmarshal. This PR implements the requested changes in that thread.

  1. Adds the four yaml and json capabilities to the capabilities.json
  2. Ensures the opa test cases are enabled and passing

As part of that I also implemented the other three functions yaml.is_valid, yaml.marshal, json.is_valid to ensure all the test cases pass as well as extending the local test suite.

Signed-off-by: Aron Carroll <aron.carroll@snyk.io>
Signed-off-by: Aron Carroll <aron.carroll@snyk.io>
Signed-off-by: Aron Carroll <aron.carroll@snyk.io>
Signed-off-by: Aron Carroll <aron.carroll@snyk.io>
Signed-off-by: Aron Carroll <aron.carroll@snyk.io>
Copy link
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

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

Thanks a lot! 👏 🎉

@srenatus srenatus merged commit cd75d9d into open-policy-agent:main Dec 12, 2021
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.

None yet

2 participants