mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
chore: fix dependabot alerts (#2446)
* chore: fix dependabot alerts https://github.com/project-zot/zot/pull/2435 https://github.com/project-zot/zot/pull/2436 https://github.com/project-zot/zot/pull/2437 https://github.com/project-zot/zot/pull/2438 https://github.com/project-zot/zot/pull/2439 https://github.com/project-zot/zot/pull/2440 https://github.com/project-zot/zot/pull/2441 https://github.com/project-zot/zot/pull/2442 https://github.com/project-zot/zot/pull/2443 https://github.com/project-zot/zot/pull/2444 https://github.com/project-zot/zot/pull/2445 Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com> * fix(zli): _schema query in zli code should not use empty parens Fix also some tests See https://github.com/vektah/gqlparser/issues/292 and https://github.com/vektah/gqlparser/pull/293 Signed-off-by: Andrei Aaron <aaaron@luxoft.com> --------- Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com> Signed-off-by: Andrei Aaron <aaaron@luxoft.com> Co-authored-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
committed by
GitHub
parent
767f81d4f5
commit
1594852428
@@ -128,7 +128,7 @@ func CheckExtEndPointQuery(config SearchConfig, requiredQueries ...GQLQuery) err
|
||||
|
||||
schemaQuery := `
|
||||
{
|
||||
__schema() {
|
||||
__schema {
|
||||
queryType {
|
||||
fields {
|
||||
name
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@ package search
|
||||
|
||||
// This file will be automatically regenerated based on the schema, any resolver implementations
|
||||
// will be copied through when generating and any unknown code will be moved to the end.
|
||||
// Code generated by github.com/99designs/gqlgen version v0.17.45
|
||||
// Code generated by github.com/99designs/gqlgen version v0.17.47
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
@@ -497,7 +497,7 @@ func TestChangingRepoState(t *testing.T) {
|
||||
|
||||
gqlStarredRepos := `
|
||||
{
|
||||
StarredRepos() {
|
||||
StarredRepos {
|
||||
Results {
|
||||
Name
|
||||
StarCount
|
||||
@@ -510,7 +510,7 @@ func TestChangingRepoState(t *testing.T) {
|
||||
|
||||
gqlBookmarkedRepos := `
|
||||
{
|
||||
BookmarkedRepos() {
|
||||
BookmarkedRepos {
|
||||
Results {
|
||||
Name
|
||||
StarCount
|
||||
|
||||
Reference in New Issue
Block a user