Skip to content

Commit

Permalink
[v15] Add properties field to the edge message (#42353)
Browse files Browse the repository at this point in the history
* Add dynamically typed properties field to the edge message

* Move to `map<string,string>` for edge properties.
  • Loading branch information
Tener authored Jun 4, 2024
1 parent 3f26890 commit 857631b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 18 deletions.
56 changes: 38 additions & 18 deletions gen/proto/go/accessgraph/v1alpha/graph.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions proto/accessgraph/v1alpha/graph.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ message Edge {
string to = 2;
// edge_type is the type of the edge, e.g. "member_of", "belongs_to", etc.
string edge_type = 3;
// Properties is a set of properties for the edges.
map<string, string> properties = 4;
}

0 comments on commit 857631b

Please sign in to comment.