Skip to content
Snippets Groups Projects
Commit 7a755bc0 authored by Jamie Tanna's avatar Jamie Tanna
Browse files

Implement `repositoriesLike` query


As part of #151, this requires we introduce the ability to list
repositories based on `LIKE` SQL syntax, and then performing the
per-repo lookups.

Right now, we're not wrapping this up with Goroutines to improve
performance, and we'll optimise it in the future if needed.

We need to make sure we look up whether `totalAdvisories`,
`totalDependencies` or `totalPolicyViolations` are found in the query
and then generate the total values as needed, as we cannot wire in the
resolver (via GQLGen) to wait until the `repositories` field has
executed.

Co-authored-by: default avatarKeith Lyall <keith.lyall@deliveroo.co.uk>
parent 245d7a63
No related branches found
No related tags found
1 merge request!168Implement GraphQL API
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment