Skip to content

Commit

Permalink
fix: value completion typename, planner shared nodes selections (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsergiy authored Oct 24, 2024
1 parent 9382a3a commit b5929bf
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 24 deletions.
4 changes: 2 additions & 2 deletions aws-lambda-router/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require (
github.com/akrylysov/algnhsa v1.1.0
github.com/aws/aws-lambda-go v1.43.0
github.com/stretchr/testify v1.9.0
github.com/wundergraph/cosmo/router v0.0.0-20241020204711-78f240a77c99
github.com/wundergraph/cosmo/router v0.0.0-20241024191835-9382a3ad937f
go.uber.org/zap v1.27.0
)

Expand Down Expand Up @@ -93,7 +93,7 @@ require (
github.com/twmb/franz-go v1.16.1 // indirect
github.com/twmb/franz-go/pkg/kmsg v1.7.0 // indirect
github.com/wundergraph/astjson v0.0.0-20240910140849-bb15f94bd362 // indirect
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108 // indirect
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.23.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions aws-lambda-router/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0
github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww=
github.com/wundergraph/astjson v0.0.0-20240910140849-bb15f94bd362 h1:MxNSJqQFJyhKwU4xPj6diIRLm+oY1wNbAZW0jJpikBE=
github.com/wundergraph/astjson v0.0.0-20240910140849-bb15f94bd362/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE=
github.com/wundergraph/cosmo/router v0.0.0-20241020204711-78f240a77c99 h1:1eoElavRjwGJSS5G1NoeEpMmzVKgr3I/N5FkGM0F+nE=
github.com/wundergraph/cosmo/router v0.0.0-20241020204711-78f240a77c99/go.mod h1:73Hl0E/xRKvPQ8oiboLB/M4NGLXBllPfIZKQd0IUSzE=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108 h1:1GTf9trAfT8jWz81HYbXJECQSXxll9sxnn7HuevGAZo=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108/go.mod h1:zkPVYJu1iQd0y1fBNj+oXe9uMI/33TSoiXEsKSAESZY=
github.com/wundergraph/cosmo/router v0.0.0-20241024191835-9382a3ad937f h1:5enerZe9xuRLrLm+GofmwPr5kKAXBpRaxe7DvZ9Xzp0=
github.com/wundergraph/cosmo/router v0.0.0-20241024191835-9382a3ad937f/go.mod h1:kEujMQG+5vu9ALWzGYfid75eMX3vLAHbGZRa1ehu3Js=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109 h1:/VcmYkEjsAOHLLJFR5H+8AMGnEIzYtOuMQ/taEcHnlE=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109/go.mod h1:zkPVYJu1iQd0y1fBNj+oXe9uMI/33TSoiXEsKSAESZY=
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 h1:aFJWCqJMNjENlcleuuOkGAPH82y0yULBScfXcIEdS24=
Expand Down
4 changes: 2 additions & 2 deletions demo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ require (
github.com/rs/cors v1.11.0
github.com/vektah/gqlparser/v2 v2.5.16
github.com/wundergraph/cosmo/composition-go v0.0.0-20240124120900-5effe48a4a1d
github.com/wundergraph/cosmo/router v0.0.0-20241021080628-b4565b09ca44
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108
github.com/wundergraph/cosmo/router v0.0.0-20241024191835-9382a3ad937f
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1
go.opentelemetry.io/otel v1.28.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.23.1
Expand Down
6 changes: 3 additions & 3 deletions demo/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ github.com/wundergraph/astjson v0.0.0-20240910140849-bb15f94bd362 h1:MxNSJqQFJyh
github.com/wundergraph/astjson v0.0.0-20240910140849-bb15f94bd362/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE=
github.com/wundergraph/cosmo/composition-go v0.0.0-20240124120900-5effe48a4a1d h1:NEUrhuqOaTO1dpW8pz2tu6dKbQAqFvgiF/m4NXdzZm0=
github.com/wundergraph/cosmo/composition-go v0.0.0-20240124120900-5effe48a4a1d/go.mod h1:9I3gPMAlAY+m1/cFL20iN7XHTyuZd3VT5ijccdU/FsI=
github.com/wundergraph/cosmo/router v0.0.0-20241021080628-b4565b09ca44 h1:ykXgLzUODNDawsVcFOKpVtIgMEAUflw99Yn5SdlJGhY=
github.com/wundergraph/cosmo/router v0.0.0-20241021080628-b4565b09ca44/go.mod h1:73Hl0E/xRKvPQ8oiboLB/M4NGLXBllPfIZKQd0IUSzE=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108 h1:1GTf9trAfT8jWz81HYbXJECQSXxll9sxnn7HuevGAZo=
github.com/wundergraph/cosmo/router v0.0.0-20241024191835-9382a3ad937f h1:5enerZe9xuRLrLm+GofmwPr5kKAXBpRaxe7DvZ9Xzp0=
github.com/wundergraph/cosmo/router v0.0.0-20241024191835-9382a3ad937f/go.mod h1:kEujMQG+5vu9ALWzGYfid75eMX3vLAHbGZRa1ehu3Js=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109 h1:/VcmYkEjsAOHLLJFR5H+8AMGnEIzYtOuMQ/taEcHnlE=
github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913 h1:+qGGcbkzsfDQNPPe9UDgpxAWQrhbbBXOYJFQDq/dtJw=
github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913/go.mod h1:4aEEwZQutDLsQv2Deui4iYQ6DWTxR14g6m8Wv88+Xqk=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
Expand Down
3 changes: 2 additions & 1 deletion go.work.sum
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,8 @@ github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.90/go.mod h1:zkPVYJu1iQd0y1
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.95/go.mod h1:zkPVYJu1iQd0y1fBNj+oXe9uMI/33TSoiXEsKSAESZY=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.102 h1:UUT6mLcUH1sGepg+GFZr6TfC+mkZWF3YLdnQruBvIZA=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.102/go.mod h1:zkPVYJu1iQd0y1fBNj+oXe9uMI/33TSoiXEsKSAESZY=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108/go.mod h1:zkPVYJu1iQd0y1fBNj+oXe9uMI/33TSoiXEsKSAESZY=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109 h1:/VcmYkEjsAOHLLJFR5H+8AMGnEIzYtOuMQ/taEcHnlE=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109/go.mod h1:zkPVYJu1iQd0y1fBNj+oXe9uMI/33TSoiXEsKSAESZY=
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=
Expand Down
6 changes: 3 additions & 3 deletions router-tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ require (
github.com/tidwall/gjson v1.18.0
github.com/twmb/franz-go v1.16.1
github.com/twmb/franz-go/pkg/kadm v1.11.0
github.com/wundergraph/cosmo/demo v0.0.0-20241021080628-b4565b09ca44
github.com/wundergraph/cosmo/router v0.0.0-20241021080628-b4565b09ca44
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108
github.com/wundergraph/cosmo/demo v0.0.0-20241024191835-9382a3ad937f
github.com/wundergraph/cosmo/router v0.0.0-20241024191835-9382a3ad937f
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109
go.opentelemetry.io/otel v1.28.0
go.opentelemetry.io/otel/sdk v1.28.0
go.opentelemetry.io/otel/sdk/metric v1.28.0
Expand Down
12 changes: 6 additions & 6 deletions router-tests/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -348,12 +348,12 @@ github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0
github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww=
github.com/wundergraph/astjson v0.0.0-20240910140849-bb15f94bd362 h1:MxNSJqQFJyhKwU4xPj6diIRLm+oY1wNbAZW0jJpikBE=
github.com/wundergraph/astjson v0.0.0-20240910140849-bb15f94bd362/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE=
github.com/wundergraph/cosmo/demo v0.0.0-20241021080628-b4565b09ca44 h1:uxss2BhWstNliek/0S312s1QL/AWk0TDu+o1FIAXcjc=
github.com/wundergraph/cosmo/demo v0.0.0-20241021080628-b4565b09ca44/go.mod h1:GjjKGV+IJknXVPcCO+lcFB4rvL90ZYAm4K6jgtlzwxE=
github.com/wundergraph/cosmo/router v0.0.0-20241021080628-b4565b09ca44 h1:ykXgLzUODNDawsVcFOKpVtIgMEAUflw99Yn5SdlJGhY=
github.com/wundergraph/cosmo/router v0.0.0-20241021080628-b4565b09ca44/go.mod h1:73Hl0E/xRKvPQ8oiboLB/M4NGLXBllPfIZKQd0IUSzE=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108 h1:1GTf9trAfT8jWz81HYbXJECQSXxll9sxnn7HuevGAZo=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108/go.mod h1:zkPVYJu1iQd0y1fBNj+oXe9uMI/33TSoiXEsKSAESZY=
github.com/wundergraph/cosmo/demo v0.0.0-20241024191835-9382a3ad937f h1:LP+C+H1j2jcWTyhGJkltTfy4BH/6gz0/i0xYm40OHQ0=
github.com/wundergraph/cosmo/demo v0.0.0-20241024191835-9382a3ad937f/go.mod h1:4LC04f+n3hM6gd+byTduS3d9WjODPM5FZ75U+WEnceA=
github.com/wundergraph/cosmo/router v0.0.0-20241024191835-9382a3ad937f h1:5enerZe9xuRLrLm+GofmwPr5kKAXBpRaxe7DvZ9Xzp0=
github.com/wundergraph/cosmo/router v0.0.0-20241024191835-9382a3ad937f/go.mod h1:kEujMQG+5vu9ALWzGYfid75eMX3vLAHbGZRa1ehu3Js=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109 h1:/VcmYkEjsAOHLLJFR5H+8AMGnEIzYtOuMQ/taEcHnlE=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109/go.mod h1:zkPVYJu1iQd0y1fBNj+oXe9uMI/33TSoiXEsKSAESZY=
github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913 h1:+qGGcbkzsfDQNPPe9UDgpxAWQrhbbBXOYJFQDq/dtJw=
github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913/go.mod h1:4aEEwZQutDLsQv2Deui4iYQ6DWTxR14g6m8Wv88+Xqk=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down
2 changes: 1 addition & 1 deletion router/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ require (
github.com/tidwall/gjson v1.18.0
github.com/tidwall/sjson v1.2.5
github.com/twmb/franz-go v1.16.1
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109
// Do not upgrade, it renames attributes we rely on
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1
go.opentelemetry.io/contrib/propagators/b3 v1.23.0
Expand Down
4 changes: 2 additions & 2 deletions router/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0
github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww=
github.com/wundergraph/astjson v0.0.0-20240910140849-bb15f94bd362 h1:MxNSJqQFJyhKwU4xPj6diIRLm+oY1wNbAZW0jJpikBE=
github.com/wundergraph/astjson v0.0.0-20240910140849-bb15f94bd362/go.mod h1:eOTL6acwctsN4F3b7YE+eE2t8zcJ/doLm9sZzsxxxrE=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108 h1:1GTf9trAfT8jWz81HYbXJECQSXxll9sxnn7HuevGAZo=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.108/go.mod h1:zkPVYJu1iQd0y1fBNj+oXe9uMI/33TSoiXEsKSAESZY=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109 h1:/VcmYkEjsAOHLLJFR5H+8AMGnEIzYtOuMQ/taEcHnlE=
github.com/wundergraph/graphql-go-tools/v2 v2.0.0-rc.109/go.mod h1:zkPVYJu1iQd0y1fBNj+oXe9uMI/33TSoiXEsKSAESZY=
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 h1:aFJWCqJMNjENlcleuuOkGAPH82y0yULBScfXcIEdS24=
Expand Down

0 comments on commit b5929bf

Please sign in to comment.