Closed maxprofit closed 1 month ago
I think I just didn't realize that this was the proper extension, as referenced in the examples. I feel like I was driven to this confusion by the fact that policy files have the extension as *.cedar
and schema files have the extension *.cedarschema
Before opening, please confirm:
Bug Category
Other
Describe the bug
I think this
schema.cedarschema.json
might be a typo? The generated file is obviously in JSON. I feel like it should be just namedschema.json
with a cedar version asschema.cedar
orschema.cedarschema
. I didn't see anything on the cedarpolicy website so I could be off on which extension should be used.Expected behavior
I'd expect it to be named
schema.json
or have it generated asschema.cedar
to match thepolicy.cedar
fileReproduction steps
cedar new --name whatever
Code Snippet
https://github.com/cedar-policy/cedar/blob/9b45bae3c48c1c0ba1354626cb4c118d906582dd/cedar-policy-cli/src/lib.rs#L1023
Log output
N/A
Additional configuration
No response
Operating System
MacOS
Additional information and screenshots
No response