Skip to content

Commit

Permalink
Add comment for id field on PkgSpec (#1631)
Browse files Browse the repository at this point in the history
* add comment for id field on PkgSpec

Signed-off-by: Ridwan Hoq <[email protected]>

* make generate

Signed-off-by: Ridwan Hoq <[email protected]>

---------

Signed-off-by: Ridwan Hoq <[email protected]>
  • Loading branch information
ridhoq authored Jan 10, 2024
1 parent ab5a1b0 commit ab37eb4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 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: 3 additions & 0 deletions 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: 3 additions & 0 deletions 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: 3 additions & 0 deletions pkg/assembler/graphql/schema/package.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ Each field matches a qualifier from pURL. Use null to match on all values at
that level. For example, to get all packages in GUAC backend, use a PkgSpec
where every field is null.
The id field can be used to match on a specific node in the trie to match packageTypeID,
packageNamespaceID, packageNameID, or packageVersionID.
Empty string at a field means matching with the empty string. If passing in
qualifiers, all of the values in the list must match. Since we want to return
nodes with any number of qualifiers if no qualifiers are passed in the input,
Expand Down

0 comments on commit ab37eb4

Please sign in to comment.