You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cedar-policy-validator/src/schema.rs
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -858,8 +858,7 @@ impl ValidatorSchema {
858
858
Entities::from_entities(
859
859
self.actions
860
860
.values()
861
-
.map(|entity| entity.as_ref().clone())
862
-
.collect::<Vec<Entity>>(),
861
+
.map(|entity| entity.as_ref().clone()),
863
862
None::<&cedar_policy_core::entities::NoEntitiesSchema>,// we don't want to tell `Entities::from_entities()` to add the schema's action entities, that would infinitely recurse
0 commit comments