Skip to content

Commit e83349a

Browse files
committed
use the fixed engine
1 parent dfb43c9 commit e83349a

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

router-tests/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/wundergraph/cosmo/router-tests
22

3-
go 1.23.0
3+
go 1.25
44

55
require (
66
github.com/MicahParks/jwkset v0.9.0
@@ -27,7 +27,7 @@ require (
2727
github.com/wundergraph/cosmo/demo/pkg/subgraphs/projects v0.0.0-20250715110703-10f2e5f9c79e
2828
github.com/wundergraph/cosmo/router v0.0.0-20250820135159-bf8852195d3f
2929
github.com/wundergraph/cosmo/router-plugin v0.0.0-20250808194725-de123ba1c65e
30-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.224.0.20250901101403-ee74209b2afe
30+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.225
3131
go.opentelemetry.io/otel v1.36.0
3232
go.opentelemetry.io/otel/sdk v1.36.0
3333
go.opentelemetry.io/otel/sdk/metric v1.36.0

router-tests/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083 h1:8/D7f8gKxTB
352352
github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE=
353353
github.com/wundergraph/consul/sdk v0.0.0-20250204115147-ed842a8fd301 h1:EzfKHQoTjFDDcgaECCCR2aTePqMu9QBmPbyhqIYOhV0=
354354
github.com/wundergraph/consul/sdk v0.0.0-20250204115147-ed842a8fd301/go.mod h1:wxI0Nak5dI5RvJuzGyiEK4nZj0O9X+Aw6U0tC1wPKq0=
355-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.224.0.20250901101403-ee74209b2afe h1:SkxTgLw5mGF2sBw6bsnKvDwDHneisgx5wuiXXNGht6k=
356-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.224.0.20250901101403-ee74209b2afe/go.mod h1:DnYY1alnsgzkanSwbFiFIdXKOuf8dHQWQ2P4BzTc6aI=
355+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.225 h1:D7VbIl1P6/6Zj86HNiO7UmH05DDFnFLVA/ig31+Uy5c=
356+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.225/go.mod h1:g1IFIylu5Fd9pKjzq0mDvpaKhEB/vkwLAIbGdX2djXU=
357357
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
358358
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
359359
github.com/yosida95/uritemplate/v3 v3.0.2 h1:Ed3Oyj9yrmi9087+NczuL5BwkIc4wvTb5zIM+UJPGz4=

router/core/executor.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,5 +237,7 @@ func (b *ExecutorConfigurationBuilder) buildPlannerConfiguration(ctx context.Con
237237

238238
planConfig.EnableOperationNamePropagation = routerEngineCfg.Execution.EnableSubgraphFetchOperationName
239239

240+
planConfig.BuildFetchReasons = routerEngineCfg.Execution.EnableRequireFetchReasons
241+
240242
return planConfig, providers, nil
241243
}

router/core/factoryresolver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,9 @@ func (l *Loader) dataSourceMetaData(in *nodev1.DataSourceConfiguration) *plan.Da
549549
if len(keyConfiguration.Conditions) > 0 {
550550
conditions = make([]plan.KeyCondition, 0, len(keyConfiguration.Conditions))
551551
for _, condition := range keyConfiguration.Conditions {
552-
coordinates := make([]plan.KeyConditionCoordinate, 0, len(condition.FieldCoordinatesPath))
552+
coordinates := make([]plan.FieldCoordinate, 0, len(condition.FieldCoordinatesPath))
553553
for _, coordinate := range condition.FieldCoordinatesPath {
554-
coordinates = append(coordinates, plan.KeyConditionCoordinate{
554+
coordinates = append(coordinates, plan.FieldCoordinate{
555555
TypeName: coordinate.TypeName,
556556
FieldName: coordinate.FieldName,
557557
})

router/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/wundergraph/cosmo/router
22

3-
go 1.23.0
3+
go 1.25
44

55
require (
66
connectrpc.com/connect v1.16.2
@@ -31,7 +31,7 @@ require (
3131
github.com/tidwall/gjson v1.18.0
3232
github.com/tidwall/sjson v1.2.5
3333
github.com/twmb/franz-go v1.16.1
34-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.224.0.20250901101403-ee74209b2afe
34+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.225
3535
// Do not upgrade, it renames attributes we rely on
3636
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0
3737
go.opentelemetry.io/contrib/propagators/b3 v1.23.0

router/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ github.com/wk8/go-ordered-map/v2 v2.1.8 h1:5h/BUHu93oj4gIdvHHHGsScSTMijfx5PeYkE/
317317
github.com/wk8/go-ordered-map/v2 v2.1.8/go.mod h1:5nJHM5DyteebpVlHnWMV0rPz6Zp7+xBAnxjb1X5vnTw=
318318
github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083 h1:8/D7f8gKxTBjW+SZK4mhxTTBVpxcqeBgWF1Rfmltbfk=
319319
github.com/wundergraph/astjson v0.0.0-20250106123708-be463c97e083/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE=
320-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.224.0.20250901101403-ee74209b2afe h1:SkxTgLw5mGF2sBw6bsnKvDwDHneisgx5wuiXXNGht6k=
321-
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.224.0.20250901101403-ee74209b2afe/go.mod h1:DnYY1alnsgzkanSwbFiFIdXKOuf8dHQWQ2P4BzTc6aI=
320+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.225 h1:D7VbIl1P6/6Zj86HNiO7UmH05DDFnFLVA/ig31+Uy5c=
321+
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.225/go.mod h1:g1IFIylu5Fd9pKjzq0mDvpaKhEB/vkwLAIbGdX2djXU=
322322
github.com/yosida95/uritemplate/v3 v3.0.2 h1:Ed3Oyj9yrmi9087+NczuL5BwkIc4wvTb5zIM+UJPGz4=
323323
github.com/yosida95/uritemplate/v3 v3.0.2/go.mod h1:ILOh0sOhIJR3+L/8afwt/kE++YT040gmv5BQTMR2HP4=
324324
github.com/yuin/gopher-lua v1.1.1 h1:kYKnWBjvbNP4XLT3+bPEwAXJx262OhaHDWDVOPjL46M=

0 commit comments

Comments
 (0)