Skip to content

Commit

Permalink
Add comment on Edge schema to note that edges are bidirectional (#1632)
Browse files Browse the repository at this point in the history
* Add commeent on Edge schema to note that edges are bidirectional

Signed-off-by: Ridwan Hoq <ridwanhoq@microsoft.com>

* make generate

Signed-off-by: Ridwan Hoq <ridwanhoq@microsoft.com>

---------

Signed-off-by: Ridwan Hoq <ridwanhoq@microsoft.com>
  • Loading branch information
ridhoq committed Jan 12, 2024
1 parent 43d13e6 commit df88a40
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pkg/assembler/clients/generated/operations.go

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

3 changes: 2 additions & 1 deletion pkg/assembler/graphql/generated/root_.generated.go

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

3 changes: 2 additions & 1 deletion pkg/assembler/graphql/model/nodes.go

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

3 changes: 2 additions & 1 deletion pkg/assembler/graphql/schema/path.graphql
Expand Up @@ -55,7 +55,8 @@ possible GUAC links.
Each member of the enum is formed by merging two Node names with _. Each name
is converted from CamelCase to CAPITALS_WITH_UNDERSCORES. Only valid edges
(pairs from Node to Node) are included.
(pairs from Node to Node) are included. Edges are defined in both directions,
which means nodes can be traversed from either direction.
The only exception to the above rule is for links out of HasSLSA. The names are
HAS_SLSA_SUBJECT, HAS_SLSA_BUILT_BY, and HAS_SLSA_MATERIALS. This is because
Expand Down

0 comments on commit df88a40

Please sign in to comment.