Skip to content

Commit

Permalink
99designs -> geneva
Browse files Browse the repository at this point in the history
  • Loading branch information
cpalsulich committed Aug 1, 2023
1 parent 5ec81e5 commit bcd462d
Show file tree
Hide file tree
Showing 379 changed files with 2,979 additions and 2,955 deletions.
4 changes: 2 additions & 2 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ style: github
template: CHANGELOG-full-history.tpl.md
info:
title: CHANGELOG
repository_url: https://github.com/99designs/gqlgen
repository_url: https://github.com/geneva/gqlgen
options:
commits:
# filters:
Expand All @@ -15,4 +15,4 @@ options:
- Subject
notes:
keywords:
- BREAKING CHANGE
- BREAKING CHANGE
2 changes: 1 addition & 1 deletion .github/workflows/check-coverage
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -euo pipefail
GO111MODULE=off go get github.com/mattn/goveralls

go test -covermode atomic -coverprofile=/tmp/coverage.out.tmp -coverpkg=./... $(go list github.com/99designs/gqlgen/... | grep -v _examples)
go test -covermode atomic -coverprofile=/tmp/coverage.out.tmp -coverpkg=./... $(go list github.com/geneva/gqlgen/... | grep -v _examples)
# ignore protobuf files
cat /tmp/coverage.out.tmp | grep -v ".pb.go" > /tmp/coverage.out

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/check-init
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ set -euo pipefail
gqlgen_dir=$(pwd)
cd $(mktemp -d)
go mod init inittest
printf '// +build tools\npackage tools\nimport _ "github.com/99designs/gqlgen"' | gofmt > tools.go
printf '// +build tools\npackage tools\nimport _ "github.com/geneva/gqlgen"' | gofmt > tools.go
go mod tidy
go mod edit -replace=github.com/99designs/gqlgen="$gqlgen_dir"
go mod edit -replace=github.com/geneva/gqlgen="$gqlgen_dir"
go mod tidy

if ! go run github.com/99designs/gqlgen init ; then
if ! go run github.com/geneva/gqlgen init ; then
echo "gqlgen init failed"
exit 125
fi

if ! go run github.com/99designs/gqlgen generate ; then
if ! go run github.com/geneva/gqlgen generate ; then
echo "gqlgen generate failed"
exit 125
fi
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/99designs/gqlgen/_examples/chat.Chatroom
model: github.com/geneva/gqlgen/_examples/chat.Chatroom
4 changes: 2 additions & 2 deletions _examples/chat/chat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"sync"
"testing"

"github.com/99designs/gqlgen/client"
"github.com/99designs/gqlgen/graphql/handler"
"github.com/geneva/gqlgen/client"
"github.com/geneva/gqlgen/graphql/handler"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
102 changes: 51 additions & 51 deletions _examples/chat/generated.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _examples/chat/models_gen.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/chat/resolvers.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sync"
"time"

"github.com/99designs/gqlgen/graphql"
"github.com/geneva/gqlgen/graphql"
)

type ckey string
Expand Down
10 changes: 5 additions & 5 deletions _examples/chat/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"net/url"
"time"

"github.com/99designs/gqlgen/graphql/handler/extension"
"github.com/99designs/gqlgen/graphql/handler/transport"
"github.com/geneva/gqlgen/graphql/handler/extension"
"github.com/geneva/gqlgen/graphql/handler/transport"

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

"github.com/gorilla/websocket"
"github.com/opentracing/opentracing-go"
Expand All @@ -18,8 +18,8 @@ import (
appdashtracer "sourcegraph.com/sourcegraph/appdash/opentracing"
"sourcegraph.com/sourcegraph/appdash/traceapp"

"github.com/99designs/gqlgen/_examples/chat"
"github.com/99designs/gqlgen/graphql/handler"
"github.com/geneva/gqlgen/_examples/chat"
"github.com/geneva/gqlgen/graphql/handler"
)

func main() {
Expand Down
108 changes: 54 additions & 54 deletions _examples/config/generated.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _examples/config/models_gen.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/config/schema.resolvers.go

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

6 changes: 3 additions & 3 deletions _examples/config/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"log"
"net/http"

todo "github.com/99designs/gqlgen/_examples/config"
"github.com/99designs/gqlgen/graphql/handler"
"github.com/99designs/gqlgen/graphql/playground"
todo "github.com/geneva/gqlgen/_examples/config"
"github.com/geneva/gqlgen/graphql/handler"
"github.com/geneva/gqlgen/graphql/playground"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/config/todo.resolvers.go

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

4 changes: 2 additions & 2 deletions _examples/config/user.graphql
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
type User
@goModel(model:"github.com/99designs/gqlgen/_examples/config.User") {
@goModel(model:"github.com/geneva/gqlgen/_examples/config.User") {
id: ID!
name: String! @goField(name:"FullName")
role: role!
}

type role
@goModel(model:"github.com/99designs/gqlgen/_examples/config.UserRole") {
@goModel(model:"github.com/geneva/gqlgen/_examples/config.UserRole") {
name: String!
}
2 changes: 1 addition & 1 deletion _examples/config/user.resolvers.go

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

4 changes: 2 additions & 2 deletions _examples/dataloader/.gqlgen.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
models:
Order:
model: github.com/99designs/gqlgen/_examples/dataloader.Order
model: github.com/geneva/gqlgen/_examples/dataloader.Order
Customer:
model: github.com/99designs/gqlgen/_examples/dataloader.Customer
model: github.com/geneva/gqlgen/_examples/dataloader.Customer
6 changes: 3 additions & 3 deletions _examples/dataloader/dataloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package dataloader
import (
"testing"

"github.com/99designs/gqlgen/client"
"github.com/99designs/gqlgen/graphql/handler"
"github.com/99designs/gqlgen/graphql/introspection"
"github.com/geneva/gqlgen/client"
"github.com/geneva/gqlgen/graphql/handler"
"github.com/geneva/gqlgen/graphql/introspection"
"github.com/stretchr/testify/require"
)

Expand Down
6 changes: 3 additions & 3 deletions _examples/dataloader/dataloaders.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//go:generate go run github.com/vektah/dataloaden AddressLoader int *github.com/99designs/gqlgen/_examples/dataloader.Address
//go:generate go run github.com/vektah/dataloaden OrderSliceLoader int []*github.com/99designs/gqlgen/_examples/dataloader.Order
//go:generate go run github.com/vektah/dataloaden ItemSliceLoader int []*github.com/99designs/gqlgen/_examples/dataloader.Item
//go:generate go run github.com/vektah/dataloaden AddressLoader int *github.com/geneva/gqlgen/_examples/dataloader.Address
//go:generate go run github.com/vektah/dataloaden OrderSliceLoader int []*github.com/geneva/gqlgen/_examples/dataloader.Order
//go:generate go run github.com/vektah/dataloaden ItemSliceLoader int []*github.com/geneva/gqlgen/_examples/dataloader.Item

package dataloader

Expand Down
Loading

0 comments on commit bcd462d

Please sign in to comment.