Skip to content

refactor(jans-cedarling)!: Move the Cedar mapping info fields into a json object #11709

@0xtinkle

Description

@0xtinkle

Problem
Currently, the Cedar mapping info field names are confused with application resource attributes.
e.g. Type field in Cedar mapping info
We cannot make customers change their existing databases if they already use a column with that name.

Solution
Move Cedar mapping info fields into a json object like following
{ "cedar_entity_mapping": { "entity_type": "Jans::SecretDocument", "id": "some_id" }, "color": "red", "size": "small" }

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions