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

Change rust demo to use natural cedar schema instead of JSON format #142

Merged
merged 4 commits into from
Jun 6, 2024

Conversation

oflatt
Copy link
Contributor

@oflatt oflatt commented Jun 3, 2024

Currently, the rust api tutorial is a bit weird because it uses the JSON format for schemas. This PR converts the example to use the natural cedar language instead.

Related, this PR exposes json serialization so we could demo going back and forth from JSON in the future: cedar-policy/cedar#949

@oflatt
Copy link
Contributor Author

oflatt commented Jun 4, 2024

This one is blocked on #144 - should we just wait in the meantime?

@john-h-kastner-aws
Copy link
Contributor

I think you need to merge with main and push to run with updated CI

@oflatt oflatt force-pushed the oflatt-better-rust-api-demo branch from de9c5e1 to bae9ace Compare June 6, 2024 18:24
@shaobo-he-aws shaobo-he-aws merged commit f644952 into cedar-policy:main Jun 6, 2024
7 checks passed
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

4 participants