Category
Cedar validation features
Describe the feature you'd like to request
For a large application with numerous domains, it would be handy to be able to define separate schemata for each domain and have them merged and applied when validating policy files.
For example, we might define our users and roles in identity.cedarschema.json, and then have entities defined only at the domain level: orders.cedarschema.json, products.cedarschema.json.
orders.cedar would then contain policies that would need to know about entities defined in orders.cedarschema.json and identity.cedarschema.json (users/groups that operate across domains)
Describe alternatives you've considered
Defining the entire schema in one file, but this rapidly becomes unwieldy for large applications, and runs risks of merge conflicts etc.
Additional context
No response
Is this something that you'd be interested in working on?
Category
Cedar validation features
Describe the feature you'd like to request
For a large application with numerous domains, it would be handy to be able to define separate schemata for each domain and have them merged and applied when validating policy files.
For example, we might define our users and roles in
identity.cedarschema.json, and then have entities defined only at the domain level:orders.cedarschema.json,products.cedarschema.json.orders.cedarwould then contain policies that would need to know about entities defined inorders.cedarschema.jsonandidentity.cedarschema.json(users/groups that operate across domains)Describe alternatives you've considered
Defining the entire schema in one file, but this rapidly becomes unwieldy for large applications, and runs risks of merge conflicts etc.
Additional context
No response
Is this something that you'd be interested in working on?