fix(deps): update module github.com/wundergraph/graphql-go-tools/v2 to v2.25.0 (#982)
Unbound Release / Check Preconditions (push) Successful in 35s
Unbound Release / Create Release (push) Skipped
schemas / check (push) Successful in 1m55s
schemas / vulnerabilities (push) Successful in 1m0s
schemas / check-release (push) Successful in 1m4s
Unbound Release / Create Tag (push) Successful in 24s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 46s
Release / release (push) Successful in 1m26s
pre-commit / pre-commit (push) Successful in 2m49s
schemas / build (push) Successful in 2m25s
schemas / deploy-prod (push) Successful in 1m16s
Unbound Release / Check Preconditions (push) Successful in 35s
Unbound Release / Create Release (push) Skipped
schemas / check (push) Successful in 1m55s
schemas / vulnerabilities (push) Successful in 1m0s
schemas / check-release (push) Successful in 1m4s
Unbound Release / Create Tag (push) Successful in 24s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 46s
Release / release (push) Successful in 1m26s
pre-commit / pre-commit (push) Successful in 2m49s
schemas / build (push) Successful in 2m25s
schemas / deploy-prod (push) Successful in 1m16s
This commit was merged in pull request #982.
This commit is contained in:
1 parent
a262d9a757
commit
18f62452c2
3 files changed
+10
-10
No files matched your search
@@ -20,7 +20,7 @@ require (
|
|||||||
github.com/rs/cors v1.11.1
|
github.com/rs/cors v1.11.1
|
||||||
github.com/stretchr/testify v1.12.1
|
github.com/stretchr/testify v1.12.1
|
||||||
github.com/vektah/gqlparser/v2 v2.5.58
|
github.com/vektah/gqlparser/v2 v2.5.58
|
||||||
github.com/wundergraph/graphql-go-tools/v2 v2.24.0
|
github.com/wundergraph/graphql-go-tools/v2 v2.25.0
|
||||||
go.opentelemetry.io/contrib/bridges/otelslog v0.20.1
|
go.opentelemetry.io/contrib/bridges/otelslog v0.20.1
|
||||||
go.opentelemetry.io/otel v1.46.0
|
go.opentelemetry.io/otel v1.46.0
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.46.0
|
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.46.0
|
||||||
|
|||||||
@@ -223,8 +223,8 @@ github.com/wundergraph/astjson v1.1.0 h1:xORDosrZ87zQFJwNGe/HIHXqzpdHOFmqWgykCLV
|
|||||||
github.com/wundergraph/astjson v1.1.0/go.mod h1:h12D/dxxnedtLzsKyBLK7/Oe4TAoGpRVC9nDpDrZSWw=
|
github.com/wundergraph/astjson v1.1.0/go.mod h1:h12D/dxxnedtLzsKyBLK7/Oe4TAoGpRVC9nDpDrZSWw=
|
||||||
github.com/wundergraph/go-arena v1.3.0 h1:n0ng5a1vbd8YGq1u3rMr0vPU5f6AZ1BXIiUhL1UIok8=
|
github.com/wundergraph/go-arena v1.3.0 h1:n0ng5a1vbd8YGq1u3rMr0vPU5f6AZ1BXIiUhL1UIok8=
|
||||||
github.com/wundergraph/go-arena v1.3.0/go.mod h1:ROOysEHWJjLQ8FSfNxZCziagb7Qw2nXY3/vgKRh7eWw=
|
github.com/wundergraph/go-arena v1.3.0/go.mod h1:ROOysEHWJjLQ8FSfNxZCziagb7Qw2nXY3/vgKRh7eWw=
|
||||||
github.com/wundergraph/graphql-go-tools/v2 v2.24.0 h1:lxq1GQcTM3XH7JtQxMFzeQMDBcLAB2scP/AC74rVneI=
|
github.com/wundergraph/graphql-go-tools/v2 v2.25.0 h1:0f53uGRtNg5k26fdMAGSQNLsfveIuI6F8NBH/arbxkY=
|
||||||
github.com/wundergraph/graphql-go-tools/v2 v2.24.0/go.mod h1:w/eZQt3znffRePA0raMhTjhKSgbt0Fywf26/p/B1uOQ=
|
github.com/wundergraph/graphql-go-tools/v2 v2.25.0/go.mod h1:2+FpG5/GRCFYw+fU8jmid4bF+362KtCio5Fo7fzNvhU=
|
||||||
go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
|
go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
|
||||||
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
|
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
|
||||||
go.opentelemetry.io/contrib/bridges/otelslog v0.20.1 h1:5sHc4ToTFjfSZCtGAAM6jPunICAmJX73htv372T4ipc=
|
go.opentelemetry.io/contrib/bridges/otelslog v0.20.1 h1:5sHc4ToTFjfSZCtGAAM6jPunICAmJX73htv372T4ipc=
|
||||||
|
|||||||
@@ -50,12 +50,12 @@ func MergeSDLs(SDLs ...string) (string, error) {
|
|||||||
|
|
||||||
doc, report := astparser.ParseGraphqlDocumentString(strings.Join(rawDocs, "\n"))
|
doc, report := astparser.ParseGraphqlDocumentString(strings.Join(rawDocs, "\n"))
|
||||||
if report.HasErrors() {
|
if report.HasErrors() {
|
||||||
return "", fmt.Errorf("parse graphql document string: %w", report)
|
return "", fmt.Errorf("parse graphql document string: %w", &report)
|
||||||
}
|
}
|
||||||
|
|
||||||
astnormalization.NormalizeSubgraphSDL(&doc, &report)
|
astnormalization.NormalizeSubgraphSDL(&doc, &report)
|
||||||
if report.HasErrors() {
|
if report.HasErrors() {
|
||||||
return "", fmt.Errorf("merge ast: %w", report)
|
return "", fmt.Errorf("merge ast: %w", &report)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := MergeAST(&doc); err != nil {
|
if err := MergeAST(&doc); err != nil {
|
||||||
@@ -81,11 +81,11 @@ func validateSubgraphs(subgraphs []string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if report.HasErrors() {
|
if report.HasErrors() {
|
||||||
return fmt.Errorf(parseDocumentError, report)
|
return fmt.Errorf(parseDocumentError, &report)
|
||||||
}
|
}
|
||||||
validator.Validate(&doc, &report)
|
validator.Validate(&doc, &report)
|
||||||
if report.HasErrors() {
|
if report.HasErrors() {
|
||||||
return fmt.Errorf("validate schema: %w", report)
|
return fmt.Errorf("validate schema: %w", &report)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
@@ -96,11 +96,11 @@ func normalizeSubgraphs(subgraphs []string) error {
|
|||||||
for i, subgraph := range subgraphs {
|
for i, subgraph := range subgraphs {
|
||||||
doc, report := astparser.ParseGraphqlDocumentString(subgraph)
|
doc, report := astparser.ParseGraphqlDocumentString(subgraph)
|
||||||
if report.HasErrors() {
|
if report.HasErrors() {
|
||||||
return fmt.Errorf(parseDocumentError, report)
|
return fmt.Errorf(parseDocumentError, &report)
|
||||||
}
|
}
|
||||||
subgraphNormalizer.NormalizeDefinition(&doc, &report)
|
subgraphNormalizer.NormalizeDefinition(&doc, &report)
|
||||||
if report.HasErrors() {
|
if report.HasErrors() {
|
||||||
return fmt.Errorf("normalize schema: %w", report)
|
return fmt.Errorf("normalize schema: %w", &report)
|
||||||
}
|
}
|
||||||
out, err := astprinter.PrintString(&doc)
|
out, err := astprinter.PrintString(&doc)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -160,7 +160,7 @@ func (m *normalizer) normalize(operation *ast.Document) error {
|
|||||||
for _, walker := range m.walkers {
|
for _, walker := range m.walkers {
|
||||||
walker.Walk(operation, nil, &report)
|
walker.Walk(operation, nil, &report)
|
||||||
if report.HasErrors() {
|
if report.HasErrors() {
|
||||||
return fmt.Errorf("walk: %w", report)
|
return fmt.Errorf("walk: %w", &report)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user