cedar-policy / cedar-docs

Documentation for Cedar policy language
https://docs.cedarpolicy.com
Apache License 2.0
24 stars 23 forks source link

[Cedar Doc Issue] Examples for Sets and Records in the Human readable Schema Format #90

Closed apandays closed 4 months ago

apandays commented 7 months ago

What were you trying to do? Create sets and records in the Human readable Schema Format

There are no examples, and it is difficult to parse the text and figure it out.

aaronjeline commented 7 months ago

Is this section in the docs not helpful: https://docs.cedarpolicy.com/schema/human-readable-schema.html#schema-entitytypes-shape-record? (Or was it too hard to find?)

apandays commented 7 months ago

I could find it for records, but i could not understand how to use it. For example, how do i make an attribute of an entity a record. The example is missing the scaffolding

For Sets, i count not find it at all

khieta commented 4 months ago

Closing this issue as resolved by #92