Skip to content

Commit

Permalink
chore: return label and nodetype for AuthorizationModelNode (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriantam authored Sep 19, 2024
2 parents eca49b5 + 9b4b274 commit f3eb518
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/go/graph/graph_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,11 @@ func (n *AuthorizationModelNode) Attributes() []encoding.Attribute {

return attrs
}

func (n *AuthorizationModelNode) Label() string {
return n.label
}

func (n *AuthorizationModelNode) NodeType() NodeType {
return n.nodeType
}

0 comments on commit f3eb518

Please sign in to comment.