generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Labels
4.0feature-requestThis issue requets a substantial new featureThis issue requets a substantial new feature
Description
Category
User level API features/changes
Describe the feature you'd like to request
Add a new member function, into_split
, under Entity
with the following function signature:
/// Disassemble an `Entity` into its unique ID, attributes and parents.
pub fn into_split(self) -> (EntityUid, HashMap<String, RestrictedExpression>, HashSet<EntityUid>);
This function will allow users to mutate an entity's attributes and parents after splitting and then re-assemble back into a cedar_policy::Entity
.
Describe alternatives you've considered
None
Additional context
No response
Is this something that you'd be interested in working on?
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
Metadata
Metadata
Assignees
Labels
4.0feature-requestThis issue requets a substantial new featureThis issue requets a substantial new feature