Skip to content

Commit

Permalink
update for cedar#1204 (#436)
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Disselkoen <[email protected]>
  • Loading branch information
cdisselkoen authored Sep 16, 2024
1 parent 2d1f496 commit 2a5455e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cedar-policy-generators/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ impl Bindings {
Ok(json_schema::EntityType {
member_of_types: et.member_of_types.clone(),
shape: json_schema::AttributesOrContext(self.rewrite_record_type(u, ty)?),
tags: None,
})
}

Expand Down Expand Up @@ -891,6 +892,7 @@ impl Schema {
json_schema::EntityType {
member_of_types: vec![],
shape: arbitrary_attrspec(&settings, &entity_type_names, u)?,
tags: None,
},
))
})
Expand Down Expand Up @@ -1619,6 +1621,7 @@ fn downgrade_entitytype_to_raw(
.map(RawName::from_name)
.collect(),
shape: downgrade_aoc_to_raw(entitytype.shape),
tags: entitytype.tags.map(downgrade_schematype_to_raw),
}
}

Expand Down

0 comments on commit 2a5455e

Please sign in to comment.