Skip to content

Commit

Permalink
Updates protobuf Entity schema to remove field which was not added to…
Browse files Browse the repository at this point in the history
… ast::Entity structs.
  • Loading branch information
chaluli committed Feb 6, 2025
1 parent b501019 commit 593250a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cedar-policy-core/protobuf_schema/AST.proto
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,7 @@ message Entity {
map<string, Expr> attrs = 2;
repeated EntityUid ancestors = 3;
repeated EntityUid parents = 4;
repeated EntityUid decendants = 5;
map<string, Expr> tags = 6;
map<string, Expr> tags = 5;
}

// END ENTITIES MESSAGES
2 changes: 1 addition & 1 deletion cedar-policy-core/src/entities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Entities {
Ok(self)
}

/// Removes the [`Crate::ast::EntityUID`]s in the interator from this [`Entities`]
/// Removes the [`crate::ast::EntityUID`]s in the interator from this [`Entities`]
/// Fails if any error is encountered in the transitive closure computation.
///
/// If you pass [`TCComputation::AssumeAlreadyComputed`], then the caller is
Expand Down

0 comments on commit 593250a

Please sign in to comment.