Skip to content

Commit

Permalink
migrate to new repository (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech committed May 21, 2022
1 parent 15ac580 commit 9fe3016
Show file tree
Hide file tree
Showing 331 changed files with 992 additions and 1,201 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Jens Neuse
Copyright (c) 2022 WunderGraph UG (haftungsbeschränkt)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
40 changes: 7 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,7 @@
[![GoDoc](https://godoc.org/github.com/jensneuse/graphql-go-tools?status.svg)](https://godoc.org/github.com/jensneuse/graphql-go-tools)
[![CI](https://github.com/jensneuse/graphql-go-tools/workflows/ci/badge.svg)](https://github.com/jensneuse/graphql-go-tools/workflows/ci/badge.svg)
[![GoDoc](https://godoc.org/github.com/wundergraph/graphql-go-tools?status.svg)](https://godoc.org/github.com/wundergraph/graphql-go-tools)
[![CI](https://github.com/wundergraph/graphql-go-tools/workflows/ci/badge.svg)](https://github.com/wundergraph/graphql-go-tools/workflows/ci/badge.svg)
# graphql-go-tools

## Sponsors

### WunderGraph

Are you looking for a GraphQL e2e data fetching solution?
Supports frameworks like NextJS,
type safety with generated clients (e.g. TypeScript),
authentication,
edge caching,
realtime streaming support,
federation, schema stitching, etc...

Have a look at: https://wundergraph.com

WunderGraph allows you to treat APIs like packages.
Install, share & integrate as simple as npm install.

### Tyk

Need a full lifecycle Api Management solution with 1st Class GraphQL Support?
Go check out https://tyk.io

Tyk is the best in class FLAPIM solution to manage all your APIs.
Turn REST APIs into GraphQL using the GUI in no time
thanks to tyk's Universal Data Graph.

## Apollo Federation Gateway Replacement

This library can be used as a replacement for the Apollo Federation Gateway.
Expand Down Expand Up @@ -91,7 +65,7 @@ This repos uses go modules so make sure to use the latest version of Go.

## Docs

https://godoc.org/github.com/jensneuse/graphql-go-tools
https://godoc.org/github.com/wundergraph/graphql-go-tools

## Usage

Expand All @@ -117,7 +91,7 @@ Feel free to add comparisons via PR.

Parse Kitchen Sink (1020 chars, example from Facebook):
```shell script
pkg: github.com/jensneuse/graphql-go-tools/pkg/astparser
pkg: github.com/wundergraph/graphql-go-tools/pkg/astparser
BenchmarkKitchenSink 189426 5652 ns/op 0 B/op 0 allocs/op
BenchmarkKitchenSink 198253 5526 ns/op 0 B/op 0 allocs/op
BenchmarkKitchenSink 199924 5553 ns/op 0 B/op 0 allocs/op
Expand All @@ -133,14 +107,14 @@ CPU and Memory consumption for lexing, parsing as well as most other operations
- Contributions to the http proxy & the Context Middleware
- [Jonas Bergner][jonas-bergner-github]
- Contributions to the initial version of the parser, contributions to the tests
- Implemented Type Extension merging [#108](https://github.com/jensneuse/graphql-go-tools/pull/108)
- Implemented Type Extension merging [#108](https://github.com/wundergraph/graphql-go-tools/pull/108)
- [Patric Vormstein][patric-vormstein-github] (Active Maintainer)
- Fixed lexer on windows [#92](https://github.com/jensneuse/graphql-go-tools/pull/92)
- Fixed lexer on windows [#92](https://github.com/wundergraph/graphql-go-tools/pull/92)
- Author of the graphql package to simplify the usage of the library
- Refactored the http package to simplify usage with http servers
- Author of the starwars package to enhance testing
- [Sergey Petrunin][sergey-petrunin-github] (Active Maintainer)
- Helped cleaning up the API of the pipeline package [#166](https://github.com/jensneuse/graphql-go-tools/pull/166)
- Helped cleaning up the API of the pipeline package [#166](https://github.com/wundergraph/graphql-go-tools/pull/166)
- Refactored the ast package into multiple files
- Author of the introspection converter (introspection JSON -> AST)
- Fixed various bugs in the parser & visitor & printer
Expand Down
10 changes: 5 additions & 5 deletions cmd/directiveUnmarshalCode.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (

"github.com/spf13/cobra"

"github.com/jensneuse/graphql-go-tools/pkg/ast"
"github.com/jensneuse/graphql-go-tools/pkg/astparser"
"github.com/jensneuse/graphql-go-tools/pkg/codegen"
"github.com/jensneuse/graphql-go-tools/pkg/imports"
"github.com/jensneuse/graphql-go-tools/pkg/operationreport"
"github.com/wundergraph/graphql-go-tools/pkg/ast"
"github.com/wundergraph/graphql-go-tools/pkg/astparser"
"github.com/wundergraph/graphql-go-tools/pkg/codegen"
"github.com/wundergraph/graphql-go-tools/pkg/imports"
"github.com/wundergraph/graphql-go-tools/pkg/operationreport"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// - GraphQL APIs (you can combine multiple GraphQL APIs into one single GraphQL Endpoint, nesting is possible)
// - Webassembly/WASM Lambdas (e.g. resolve a field using a Rust lambda)
//
// If you're looking for a ready to use solution that has all this functionality packaged as a Gateway have a look at: https://github.com/jensneuse/graphql-gateway
// If you're looking for a ready to use solution that has all this functionality packaged as a Gateway have a look at: https://wundergraph.com
//
// Created by Jens Neuse
package main
2 changes: 1 addition & 1 deletion examples/chat/.gqlgen.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
models:
Chatroom:
model: github.com/jensneuse/graphql-go-tools/examples/chat.Chatroom
model: github.com/wundergraph/graphql-go-tools/examples/chat.Chatroom
13 changes: 11 additions & 2 deletions examples/chat/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/jensneuse/graphql-go-tools/examples/chat
module github.com/wundergraph/graphql-go-tools/examples/chat

go 1.15
go 1.18

require (
github.com/99designs/gqlgen v0.13.0
Expand All @@ -9,3 +9,12 @@ require (
github.com/stretchr/testify v1.7.0
github.com/vektah/gqlparser/v2 v2.2.0
)

require (
github.com/agnivade/levenshtein v1.0.3 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/hashicorp/golang-lru v0.5.0 // indirect
github.com/mitchellh/mapstructure v0.0.0-20180203102830-a4e142e9c047 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)
13 changes: 0 additions & 13 deletions examples/chat/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,15 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNg
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q=
github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dgryski/trifles v0.0.0-20190318185328-a8d75aae118c h1:TUuUh0Xgj97tLMNtWtNvI9mIV6isjEb9lBMNv+77IGM=
github.com/dgryski/trifles v0.0.0-20190318185328-a8d75aae118c/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA=
github.com/go-chi/chi v3.3.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
github.com/gogo/protobuf v1.0.0 h1:2jyBKDKU/8v3v2xVR2PtiWQviFUyiaGk2rpfyFT8rTM=
github.com/gogo/protobuf v1.0.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gorilla/context v0.0.0-20160226214623-1ea25387ff6f h1:9oNbS1z4rVpbnkHBdPZU4jo9bSmrLpII768arSyMFgk=
github.com/gorilla/context v0.0.0-20160226214623-1ea25387ff6f/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
github.com/gorilla/mux v1.6.1 h1:KOwqsTYZdeuMacU7CxjMNYEKeBvLbxW+psodrbcEa3A=
github.com/gorilla/mux v1.6.1/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
Expand All @@ -38,32 +34,25 @@ github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mitchellh/mapstructure v0.0.0-20180203102830-a4e142e9c047 h1:zCoDWFD5nrJJVjbXiDZcVhOBSzKn3o9LgRLLMRNuru8=
github.com/mitchellh/mapstructure v0.0.0-20180203102830-a4e142e9c047/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
github.com/opentracing/basictracer-go v1.0.0 h1:YyUAhaEfjoWXclZVJ9sGoNct7j4TVk7lZWlQw5UXuoo=
github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74=
github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik=
github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371 h1:SWV2fHctRpRrp49VXJ6UZja7gU9QLHwRpIPBN89SKEo=
github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg=
github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/shurcooL/vfsgen v0.0.0-20180121065927-ffb13db8def0 h1:JJV9CsgM9EC9w2iVkwuz+sMx8yRFe89PJRUrv6hPCIA=
github.com/shurcooL/vfsgen v0.0.0-20180121065927-ffb13db8def0/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/urfave/cli/v2 v2.1.1 h1:Qt8FeAtxE/vfdrLmR3rxR6JRE0RoVmbXu8+6kZtYU4k=
github.com/urfave/cli/v2 v2.1.1/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ=
github.com/vektah/dataloaden v0.2.1-0.20190515034641-a19b9a6e7c9e/go.mod h1:/HUdMve7rvxZma+2ZELQeNh88+003LL7Pf/CZ089j8U=
github.com/vektah/gqlparser/v2 v2.1.0/go.mod h1:SyUiHgLATUR8BiYURfTirrTcGpcE+4XkV2se04Px1Ms=
Expand All @@ -83,7 +72,6 @@ golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190515012406-7d7faa4812bd/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20200114235610-7ae403b6b589 h1:rjUrONFu4kLchcZTfp3/96bR8bW8dIa8uz3cR5n0cgM=
golang.org/x/tools v0.0.0-20200114235610-7ae403b6b589/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand All @@ -95,5 +83,4 @@ gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
sourcegraph.com/sourcegraph/appdash v0.0.0-20180110180208-2cc67fd64755/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=
sourcegraph.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67 h1:e1sMhtVq9AfcEy8AXNb8eSg6gbzfdpYhoNqnPJa+GzI=
sourcegraph.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67/go.mod h1:L5q+DGLGOQFpo1snNEkLOJT2d1YTW66rWNzatr3He1k=
2 changes: 1 addition & 1 deletion examples/chat/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/99designs/gqlgen/graphql/playground"
"github.com/rs/cors"

"github.com/jensneuse/graphql-go-tools/examples/chat"
"github.com/wundergraph/graphql-go-tools/examples/chat"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/federation/accounts/gqlgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resolver:
# gqlgen will search for any type names in the schema in these go packages
# if they match it will use them, otherwise it will generate them.
autobind:
- "github.com/jensneuse/graphql-go-tools/examples/federation/accounts/graph/model"
- "github.com/wundergraph/graphql-go-tools/examples/federation/accounts/graph/model"

# This section declares type mapping between the GraphQL and go type systems
#
Expand Down
4 changes: 2 additions & 2 deletions examples/federation/accounts/graph/entity.resolvers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ package graph
import (
"context"

"github.com/jensneuse/graphql-go-tools/examples/federation/accounts/graph/generated"
"github.com/jensneuse/graphql-go-tools/examples/federation/accounts/graph/model"
"github.com/wundergraph/graphql-go-tools/examples/federation/accounts/graph/generated"
"github.com/wundergraph/graphql-go-tools/examples/federation/accounts/graph/model"
)

func (r *entityResolver) FindUserByID(ctx context.Context, id string) (*model.User, error) {
Expand Down
2 changes: 1 addition & 1 deletion examples/federation/accounts/graph/generated/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/federation/accounts/graph/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/99designs/gqlgen/graphql/handler"
"github.com/99designs/gqlgen/graphql/handler/debug"

"github.com/jensneuse/graphql-go-tools/examples/federation/accounts/graph/generated"
"github.com/wundergraph/graphql-go-tools/examples/federation/accounts/graph/generated"
)

type EndpointOptions struct {
Expand Down
4 changes: 2 additions & 2 deletions examples/federation/accounts/graph/schema.resolvers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ package graph
import (
"context"

"github.com/jensneuse/graphql-go-tools/examples/federation/accounts/graph/generated"
"github.com/jensneuse/graphql-go-tools/examples/federation/accounts/graph/model"
"github.com/wundergraph/graphql-go-tools/examples/federation/accounts/graph/generated"
"github.com/wundergraph/graphql-go-tools/examples/federation/accounts/graph/model"
)

func (r *queryResolver) Me(ctx context.Context) (*model.User, error) {
Expand Down
2 changes: 1 addition & 1 deletion examples/federation/accounts/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/99designs/gqlgen/graphql/playground"

"github.com/jensneuse/graphql-go-tools/examples/federation/accounts/graph"
"github.com/wundergraph/graphql-go-tools/examples/federation/accounts/graph"
)

const defaultPort = "4001"
Expand Down
2 changes: 1 addition & 1 deletion examples/federation/gateway/datasource_poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"sync"
"time"

graphqlDataSource "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/graphql_datasource"
graphqlDataSource "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/graphql_datasource"
)

type ServiceConfig struct {
Expand Down
4 changes: 2 additions & 2 deletions examples/federation/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

log "github.com/jensneuse/abstractlogger"

graphqlDataSource "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/graphql_datasource"
"github.com/jensneuse/graphql-go-tools/pkg/graphql"
graphqlDataSource "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/graphql_datasource"
"github.com/wundergraph/graphql-go-tools/pkg/graphql"
)

type DataSourceObserver interface {
Expand Down
2 changes: 1 addition & 1 deletion examples/federation/gateway/http/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/gobwas/ws"
log "github.com/jensneuse/abstractlogger"

"github.com/jensneuse/graphql-go-tools/pkg/graphql"
"github.com/wundergraph/graphql-go-tools/pkg/graphql"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion examples/federation/gateway/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

log "github.com/jensneuse/abstractlogger"

"github.com/jensneuse/graphql-go-tools/pkg/graphql"
"github.com/wundergraph/graphql-go-tools/pkg/graphql"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion examples/federation/gateway/http/ws.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/gobwas/ws/wsutil"
"github.com/jensneuse/abstractlogger"

"github.com/jensneuse/graphql-go-tools/pkg/subscription"
"github.com/wundergraph/graphql-go-tools/pkg/subscription"
)

// WebsocketSubscriptionClient is an actual implementation of the subscritpion client interface.
Expand Down
6 changes: 3 additions & 3 deletions examples/federation/gateway/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
log "github.com/jensneuse/abstractlogger"
"go.uber.org/zap"

"github.com/jensneuse/graphql-go-tools/pkg/graphql"
"github.com/jensneuse/graphql-go-tools/pkg/playground"
"github.com/wundergraph/graphql-go-tools/pkg/graphql"
"github.com/wundergraph/graphql-go-tools/pkg/playground"

http2 "github.com/jensneuse/graphql-go-tools/examples/federation/gateway/http"
http2 "github.com/wundergraph/graphql-go-tools/examples/federation/gateway/http"
)

// It's just a simple example of graphql federation gateway server, it's NOT a production ready code.
Expand Down
Loading

0 comments on commit 9fe3016

Please sign in to comment.