From 55af88651b6bd650861f5e18f3d51c25c0ef8fa4 Mon Sep 17 00:00:00 2001 From: jackchuka Date: Thu, 4 Dec 2025 18:41:42 +0900 Subject: [PATCH] chore: update package to new repo --- CONTRIBUTING.md | 117 +++++++++--------- README.md | 27 ++-- abstract_test.go | 8 +- benchutil/list_schema.go | 2 +- benchutil/wide_schema.go | 2 +- definition.go | 2 +- definition_test.go | 4 +- directives_test.go | 6 +- enum_type_test.go | 8 +- examples/concurrent-resolvers/main.go | 2 +- examples/context/main.go | 2 +- examples/crud/main.go | 2 +- examples/custom-scalar-type/main.go | 4 +- examples/federation/accounts/server.go | 4 +- examples/federation/gateway/main.go | 2 +- examples/federation/go.mod | 6 +- examples/federation/products/server.go | 6 +- examples/federation/reviews/server.go | 6 +- examples/hello-world/main.go | 2 +- examples/http-post/main.go | 4 +- examples/http/main.go | 2 +- examples/httpdynamic/main.go | 2 +- examples/modify-context/main.go | 2 +- examples/sql-nullstring/main.go | 4 +- examples/star-wars/main.go | 4 +- examples/todo/main.go | 4 +- examples/todo/schema/schema.go | 2 +- executor.go | 4 +- executor_resolve_test.go | 4 +- executor_schema_test.go | 4 +- executor_test.go | 8 +- extensions.go | 2 +- extensions_test.go | 6 +- go.mod | 2 +- gqlerrors/error.go | 6 +- gqlerrors/formatted.go | 2 +- gqlerrors/located.go | 2 +- gqlerrors/syntax.go | 6 +- graphql.go | 6 +- graphql_bench_test.go | 4 +- graphql_test.go | 4 +- introspection.go | 4 +- introspection_test.go | 8 +- language/ast/arguments.go | 2 +- language/ast/definitions.go | 2 +- language/ast/directives.go | 2 +- language/ast/document.go | 2 +- language/ast/location.go | 2 +- language/ast/name.go | 2 +- language/ast/selections.go | 2 +- language/ast/type_definitions.go | 2 +- language/ast/types.go | 2 +- language/ast/values.go | 2 +- language/lexer/lexer.go | 4 +- language/lexer/lexer_test.go | 2 +- language/location/location.go | 2 +- language/parser/parser.go | 8 +- language/parser/parser_test.go | 10 +- language/parser/schema_parser_test.go | 8 +- language/printer/printer.go | 4 +- language/printer/printer_test.go | 8 +- language/printer/schema_printer_test.go | 6 +- language/typeInfo/type_info.go | 2 +- language/visitor/visitor.go | 4 +- language/visitor/visitor_test.go | 14 +-- lists_test.go | 8 +- located.go | 4 +- mutations_test.go | 8 +- nonnull_test.go | 8 +- race_test.go | 2 +- rules.go | 10 +- rules_arguments_of_correct_type_test.go | 6 +- rules_default_values_of_correct_type_test.go | 6 +- rules_fields_on_correct_type_test.go | 6 +- rules_fragments_on_composite_types_test.go | 6 +- rules_known_argument_names_test.go | 6 +- rules_known_directives_rule_test.go | 6 +- rules_known_fragment_names_test.go | 6 +- rules_known_type_names_test.go | 6 +- rules_lone_anonymous_operation_rule_test.go | 6 +- rules_no_fragment_cycles_test.go | 6 +- rules_no_undefined_variables_test.go | 6 +- rules_no_unused_fragments_test.go | 6 +- rules_no_unused_variables_test.go | 6 +- rules_overlapping_fields_can_be_merged.go | 8 +- ...s_overlapping_fields_can_be_merged_test.go | 6 +- rules_possible_fragment_spreads_test.go | 6 +- rules_provided_non_null_arguments_test.go | 6 +- rules_scalar_leafs_test.go | 6 +- rules_unique_argument_names_test.go | 6 +- rules_unique_fragment_names_test.go | 6 +- rules_unique_input_field_names_test.go | 6 +- rules_unique_operation_names_test.go | 6 +- rules_unique_variable_names_test.go | 6 +- rules_variables_are_input_types_test.go | 6 +- rules_variables_in_allowed_position_test.go | 6 +- scalars.go | 2 +- scalars_parse_test.go | 4 +- scalars_serialization_test.go | 2 +- sdl.go | 4 +- sdl_parser.go | 4 +- sdl_parser_test.go | 4 +- sdl_test.go | 2 +- subscription.go | 6 +- subscription_test.go | 4 +- testutil/rules_test_harness.go | 10 +- testutil/subscription.go | 2 +- testutil/testutil.go | 8 +- testutil/testutil_test.go | 2 +- type_info.go | 4 +- types.go | 2 +- union_interface_test.go | 4 +- util_test.go | 4 +- validation_test.go | 4 +- validator.go | 8 +- validator_test.go | 14 +-- values.go | 8 +- variables_test.go | 10 +- 118 files changed, 354 insertions(+), 350 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d9bc28..1e79734 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -32,18 +32,19 @@ What do you want to contribute? Descriptions for each of these will eventually be provided below. ## General Guidelines -* Reading up on [CodeReviewComments](https://github.com/golang/go/wiki/CodeReviewComments) would be a great start. -* Submit a Github Pull Request to the appropriate branch and ideally discuss the changes with us in the [chat room](#chat-room). -* We will look at the patch, test it out, and give you feedback. -* Avoid doing minor whitespace changes, renaming, etc. along with merged content. These will be done by the maintainers from time to time but they can complicate merges and should be done separately. -* Take care to maintain the existing coding style. -* Always `golint` and `go fmt` your code. -* Add unit tests for any new or changed functionality, especially for public APIs. -* Run `go test` before submitting a PR. -* For git help see [progit](http://git-scm.com/book) which is an awesome (and free) book on git +- Reading up on [CodeReviewComments](https://github.com/golang/go/wiki/CodeReviewComments) would be a great start. +- Submit a Github Pull Request to the appropriate branch and ideally discuss the changes with us in the [chat room](#chat-room). +- We will look at the patch, test it out, and give you feedback. +- Avoid doing minor whitespace changes, renaming, etc. along with merged content. These will be done by the maintainers from time to time but they can complicate merges and should be done separately. +- Take care to maintain the existing coding style. +- Always `golint` and `go fmt` your code. +- Add unit tests for any new or changed functionality, especially for public APIs. +- Run `go test` before submitting a PR. +- For git help see [progit](http://git-scm.com/book) which is an awesome (and free) book on git ## Creating Pull Requests + Because `graphql` makes use of self-referencing import paths, you will want to implement the local copy of your fork as a remote on your copy of the original `graphql` repo. Katrina Owen has [an excellent post on this workflow](https://splice.com/blog/contributing-open-source-git-repositories-go/). @@ -55,29 +56,30 @@ The basics are as follows: 2. `go get` the upstream repo and set it up as the `upstream` remote and your own repo as the `origin` remote: ```bash -$ go get github.com/tailor-inc/graphql -$ cd $GOPATH/src/github.com/tailor-inc/graphql +$ go get github.com/tailor-platform/graphql +$ cd $GOPATH/src/github.com/tailor-platform/graphql $ git remote rename origin upstream $ git remote add origin git@github.com/YOUR_GITHUB_NAME/graphql ``` + All import paths should now work fine assuming that you've got the proper branch checked out. - ## Landing Pull Requests + (This is for committers only. If you are unsure whether you are a committer, you are not.) 1. Set the contributor's fork as an upstream on your checkout - ```git remote add contrib1 https://github.com/contrib1/graphql``` + `git remote add contrib1 https://github.com/contrib1/graphql` 2. Fetch the contributor's repo - ```git fetch contrib1``` + `git fetch contrib1` 3. Checkout a copy of the PR branch - ```git checkout pr-1234 --track contrib1/branch-for-pr-1234``` + `git checkout pr-1234 --track contrib1/branch-for-pr-1234` 4. Review the PR as normal @@ -87,52 +89,51 @@ proper branch checked out. By making a contribution to this project, I certify that: -* (a) The contribution was created in whole or in part by me and I -have the right to submit it under the open source license indicated -in the file; or -* (b) The contribution is based upon previous work that, to the best -of my knowledge, is covered under an appropriate open source license -and I have the right under that license to submit that work with -modifications, whether created in whole or in part by me, under the -same open source license (unless I am permitted to submit under a -different license), as indicated in the file; or -* (c) The contribution was provided directly to me by some other -person who certified (a), (b) or (c) and I have not modified it. - +- (a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license indicated + in the file; or +- (b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source license + and I have the right under that license to submit that work with + modifications, whether created in whole or in part by me, under the + same open source license (unless I am permitted to submit under a + different license), as indicated in the file; or +- (c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified it. ## Code of Conduct This Code of Conduct is adapted from [Rust's wonderful CoC](http://www.rust-lang.org/conduct.html). -* We are committed to providing a friendly, safe and welcoming -environment for all, regardless of gender, sexual orientation, -disability, ethnicity, religion, or similar personal characteristic. -* Please avoid using overtly sexual nicknames or other nicknames that -might detract from a friendly, safe and welcoming environment for -all. -* Please be kind and courteous. There's no need to be mean or rude. -* Respect that people have differences of opinion and that every -design or implementation choice carries a trade-off and numerous -costs. There is seldom a right answer. -* Please keep unstructured critique to a minimum. If you have solid -ideas you want to experiment with, make a fork and see how it works. -* We will exclude you from interaction if you insult, demean or harass -anyone. That is not welcome behaviour. We interpret the term -"harassment" as including the definition in the [Citizen Code of -Conduct](http://citizencodeofconduct.org/); if you have any lack of -clarity about what might be included in that concept, please read -their definition. In particular, we don't tolerate behavior that -excludes people in socially marginalized groups. -* Private harassment is also unacceptable. No matter who you are, if -you feel you have been or are being harassed or made uncomfortable -by a community member, please contact one of the channel ops or any -of the TC members immediately with a capture (log, photo, email) of -the harassment if possible. Whether you're a regular contributor or -a newcomer, we care about making this community a safe place for you -and we've got your back. -* Likewise any spamming, trolling, flaming, baiting or other -attention-stealing behaviour is not welcome. -* Avoid the use of personal pronouns in code comments or -documentation. There is no need to address persons when explaining -code (e.g. "When the developer") +- We are committed to providing a friendly, safe and welcoming + environment for all, regardless of gender, sexual orientation, + disability, ethnicity, religion, or similar personal characteristic. +- Please avoid using overtly sexual nicknames or other nicknames that + might detract from a friendly, safe and welcoming environment for + all. +- Please be kind and courteous. There's no need to be mean or rude. +- Respect that people have differences of opinion and that every + design or implementation choice carries a trade-off and numerous + costs. There is seldom a right answer. +- Please keep unstructured critique to a minimum. If you have solid + ideas you want to experiment with, make a fork and see how it works. +- We will exclude you from interaction if you insult, demean or harass + anyone. That is not welcome behaviour. We interpret the term + "harassment" as including the definition in the [Citizen Code of + Conduct](http://citizencodeofconduct.org/); if you have any lack of + clarity about what might be included in that concept, please read + their definition. In particular, we don't tolerate behavior that + excludes people in socially marginalized groups. +- Private harassment is also unacceptable. No matter who you are, if + you feel you have been or are being harassed or made uncomfortable + by a community member, please contact one of the channel ops or any + of the TC members immediately with a capture (log, photo, email) of + the harassment if possible. Whether you're a regular contributor or + a newcomer, we care about making this community a safe place for you + and we've got your back. +- Likewise any spamming, trolling, flaming, baiting or other + attention-stealing behaviour is not welcome. +- Avoid the use of personal pronouns in code comments or + documentation. There is no need to address persons when explaining + code (e.g. "When the developer") diff --git a/README.md b/README.md index 848d50b..a8cc648 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# graphql [![Go package](https://github.com/tailor-inc/graphql/actions/workflows/ci.yml/badge.svg)](https://github.com/tailor-inc/graphql/actions/workflows/ci.yml) [![Go Reference](https://pkg.go.dev/badge/github.com/tailor-inc/graphql.svg)](https://pkg.go.dev/github.com/tailor-inc/graphql) +# graphql [![Go package](https://github.com/tailor-platform/graphql/actions/workflows/ci.yml/badge.svg)](https://github.com/tailor-platform/graphql/actions/workflows/ci.yml) [![Go Reference](https://pkg.go.dev/badge/github.com/tailor-platform/graphql.svg)](https://pkg.go.dev/github.com/tailor-platform/graphql) An implementation of GraphQL in Go. Follows the official reference implementation [`graphql-js`](https://github.com/graphql/graphql-js). @@ -6,13 +6,14 @@ Supports: queries, mutations & subscriptions. ### Documentation -godoc: https://pkg.go.dev/github.com/tailor-inc/graphql +godoc: https://pkg.go.dev/github.com/tailor-platform/graphql ### Getting Started To install the library, run: + ```bash -go get github.com/tailor-inc/graphql +go get github.com/tailor-platform/graphql ``` The following is a simple example which defines a schema with a single `hello` string-type field and a `Resolve` method which returns the string `world`. A GraphQL query is performed against this schema with the resulting output printed in JSON format. @@ -25,7 +26,7 @@ import ( "fmt" "log" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) func main() { @@ -60,16 +61,18 @@ func main() { fmt.Printf("%s \n", rJSON) // {"data":{"hello":"world"}} } ``` -For more complex examples, refer to the [examples/](https://github.com/tailor-inc/graphql/tree/master/examples/) directory and [graphql_test.go](https://github.com/tailor-inc/graphql/blob/master/graphql_test.go). + +For more complex examples, refer to the [examples/](https://github.com/tailor-platform/graphql/tree/master/examples/) directory and [graphql_test.go](https://github.com/tailor-platform/graphql/blob/master/graphql_test.go). ### Third Party Libraries -| Name | Author | Description | -|:-------------:|:-------------:|:------------:| -| [graphql-go-handler](https://github.com/tailor-inc/graphql-go-handler) | [Hafiz Ismail](https://github.com/sogko) | Middleware to handle GraphQL queries through HTTP requests. | -| [graphql-relay-go](https://github.com/tailor-inc/graphql-relay-go) | [Hafiz Ismail](https://github.com/sogko) | Lib to construct a graphql-go server supporting react-relay. | -| [golang-relay-starter-kit](https://github.com/sogko/golang-relay-starter-kit) | [Hafiz Ismail](https://github.com/sogko) | Barebones starting point for a Relay application with Golang GraphQL server. | -| [dataloader](https://github.com/nicksrandall/dataloader) | [Nick Randall](https://github.com/nicksrandall) | [DataLoader](https://github.com/facebook/dataloader) implementation in Go. | + +| Name | Author | Description | +| :---------------------------------------------------------------------------: | :---------------------------------------------: | :--------------------------------------------------------------------------: | +| [graphql-go-handler](https://github.com/tailor-platform/graphql-go-handler) | [Hafiz Ismail](https://github.com/sogko) | Middleware to handle GraphQL queries through HTTP requests. | +| [graphql-relay-go](https://github.com/tailor-platform/graphql-relay-go) | [Hafiz Ismail](https://github.com/sogko) | Lib to construct a graphql-go server supporting react-relay. | +| [golang-relay-starter-kit](https://github.com/sogko/golang-relay-starter-kit) | [Hafiz Ismail](https://github.com/sogko) | Barebones starting point for a Relay application with Golang GraphQL server. | +| [dataloader](https://github.com/nicksrandall/dataloader) | [Nick Randall](https://github.com/nicksrandall) | [DataLoader](https://github.com/facebook/dataloader) implementation in Go. | ### Blog Posts -- [Golang + GraphQL + Relay](https://wehavefaces.net/learn-golang-graphql-relay-1-e59ea174a902) +- [Golang + GraphQL + Relay](https://wehavefaces.net/learn-golang-graphql-relay-1-e59ea174a902) diff --git a/abstract_test.go b/abstract_test.go index 1d4ee18..aec6039 100644 --- a/abstract_test.go +++ b/abstract_test.go @@ -4,10 +4,10 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/testutil" ) type testDog struct { diff --git a/benchutil/list_schema.go b/benchutil/list_schema.go index 7598ad3..1951969 100644 --- a/benchutil/list_schema.go +++ b/benchutil/list_schema.go @@ -3,7 +3,7 @@ package benchutil import ( "fmt" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) type color struct { diff --git a/benchutil/wide_schema.go b/benchutil/wide_schema.go index 1db9d94..4f8d550 100644 --- a/benchutil/wide_schema.go +++ b/benchutil/wide_schema.go @@ -3,7 +3,7 @@ package benchutil import ( "fmt" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) func WideSchemaWithXFieldsAndYItems(x int, y int) graphql.Schema { diff --git a/definition.go b/definition.go index f2e362e..fc711e3 100644 --- a/definition.go +++ b/definition.go @@ -6,7 +6,7 @@ import ( "reflect" "regexp" - "github.com/tailor-inc/graphql/language/ast" + "github.com/tailor-platform/graphql/language/ast" ) // Type interface for all of the possible kinds of GraphQL types diff --git a/definition_test.go b/definition_test.go index c5d551a..d6a580b 100644 --- a/definition_test.go +++ b/definition_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/testutil" ) var blogImage = graphql.NewObject(graphql.ObjectConfig{ diff --git a/directives_test.go b/directives_test.go index 52969ae..991a8c8 100644 --- a/directives_test.go +++ b/directives_test.go @@ -4,9 +4,9 @@ import ( "errors" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) var directivesTestSchema, _ = graphql.NewSchema(graphql.SchemaConfig{ diff --git a/enum_type_test.go b/enum_type_test.go index 0e4a18a..7eaf01c 100644 --- a/enum_type_test.go +++ b/enum_type_test.go @@ -4,10 +4,10 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/testutil" ) var enumTypeTestColorType = graphql.NewEnum(graphql.EnumConfig{ diff --git a/examples/concurrent-resolvers/main.go b/examples/concurrent-resolvers/main.go index 3e7fb7f..a86306a 100644 --- a/examples/concurrent-resolvers/main.go +++ b/examples/concurrent-resolvers/main.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) type Foo struct { diff --git a/examples/context/main.go b/examples/context/main.go index ef60505..3b52752 100644 --- a/examples/context/main.go +++ b/examples/context/main.go @@ -7,7 +7,7 @@ import ( "log" "net/http" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) var Schema graphql.Schema diff --git a/examples/crud/main.go b/examples/crud/main.go index 3236d7e..6fafdb4 100644 --- a/examples/crud/main.go +++ b/examples/crud/main.go @@ -7,7 +7,7 @@ import ( "net/http" "time" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) // Product contains information about one product diff --git a/examples/custom-scalar-type/main.go b/examples/custom-scalar-type/main.go index 43c56fd..24a8d69 100644 --- a/examples/custom-scalar-type/main.go +++ b/examples/custom-scalar-type/main.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/language/ast" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/language/ast" ) type CustomID struct { diff --git a/examples/federation/accounts/server.go b/examples/federation/accounts/server.go index 12ff27d..dc52eaa 100644 --- a/examples/federation/accounts/server.go +++ b/examples/federation/accounts/server.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" "github.com/gorilla/mux" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/playground" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/playground" "log" "net/http" ) diff --git a/examples/federation/gateway/main.go b/examples/federation/gateway/main.go index c1ff8e9..7f45968 100644 --- a/examples/federation/gateway/main.go +++ b/examples/federation/gateway/main.go @@ -3,7 +3,7 @@ package main import ( "context" "fmt" - http2 "github.com/tailor-inc/graphql/federation/gateway/http" + http2 "github.com/tailor-platform/graphql/federation/gateway/http" "net/http" "strings" "time" diff --git a/examples/federation/go.mod b/examples/federation/go.mod index a67cfe7..29aae38 100644 --- a/examples/federation/go.mod +++ b/examples/federation/go.mod @@ -1,4 +1,4 @@ -module github.com/tailor-inc/graphql/federation +module github.com/tailor-platform/graphql/federation go 1.24.0 @@ -8,12 +8,12 @@ require ( github.com/gobwas/ws v1.3.0 github.com/gorilla/mux v1.8.0 github.com/jensneuse/abstractlogger v0.0.4 - github.com/tailor-inc/graphql v0.0.1 + github.com/tailor-platform/graphql v0.0.1 github.com/wundergraph/graphql-go-tools v1.67.0 go.uber.org/zap v1.26.0 ) -replace github.com/tailor-inc/graphql => ../../ +replace github.com/tailor-platform/graphql => ../../ require ( github.com/Masterminds/goutils v1.1.1 // indirect diff --git a/examples/federation/products/server.go b/examples/federation/products/server.go index f32e325..d8ed20f 100644 --- a/examples/federation/products/server.go +++ b/examples/federation/products/server.go @@ -4,9 +4,9 @@ import ( "encoding/json" "fmt" "github.com/gorilla/mux" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/federation/products/models" - "github.com/tailor-inc/graphql/playground" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/federation/products/models" + "github.com/tailor-platform/graphql/playground" "log" "math/rand" "net/http" diff --git a/examples/federation/reviews/server.go b/examples/federation/reviews/server.go index e8128dd..29d2b95 100644 --- a/examples/federation/reviews/server.go +++ b/examples/federation/reviews/server.go @@ -4,9 +4,9 @@ import ( "encoding/json" "fmt" "github.com/gorilla/mux" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/federation/reviews/models" - "github.com/tailor-inc/graphql/playground" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/federation/reviews/models" + "github.com/tailor-platform/graphql/playground" "log" "net/http" ) diff --git a/examples/hello-world/main.go b/examples/hello-world/main.go index 885ffcd..aa420f5 100644 --- a/examples/hello-world/main.go +++ b/examples/hello-world/main.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) func main() { diff --git a/examples/http-post/main.go b/examples/http-post/main.go index 6befafb..7d87fbd 100644 --- a/examples/http-post/main.go +++ b/examples/http-post/main.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/examples/todo/schema" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/examples/todo/schema" ) type postData struct { diff --git a/examples/http/main.go b/examples/http/main.go index cdc7869..25041b7 100644 --- a/examples/http/main.go +++ b/examples/http/main.go @@ -6,7 +6,7 @@ import ( "io/ioutil" "net/http" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) type user struct { diff --git a/examples/httpdynamic/main.go b/examples/httpdynamic/main.go index 78264a6..b53c77d 100644 --- a/examples/httpdynamic/main.go +++ b/examples/httpdynamic/main.go @@ -10,7 +10,7 @@ import ( "strconv" "syscall" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) /*****************************************************************************/ diff --git a/examples/modify-context/main.go b/examples/modify-context/main.go index 9b83dfc..0c308e0 100644 --- a/examples/modify-context/main.go +++ b/examples/modify-context/main.go @@ -6,7 +6,7 @@ import ( "fmt" "log" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) type User struct { diff --git a/examples/sql-nullstring/main.go b/examples/sql-nullstring/main.go index 5c22ada..3b580ab 100644 --- a/examples/sql-nullstring/main.go +++ b/examples/sql-nullstring/main.go @@ -4,8 +4,8 @@ import ( "database/sql" "encoding/json" "fmt" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/language/ast" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/language/ast" "log" ) diff --git a/examples/star-wars/main.go b/examples/star-wars/main.go index 0028874..9e4a767 100644 --- a/examples/star-wars/main.go +++ b/examples/star-wars/main.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/testutil" ) func main() { diff --git a/examples/todo/main.go b/examples/todo/main.go index ec7c4ac..858ddc1 100644 --- a/examples/todo/main.go +++ b/examples/todo/main.go @@ -7,8 +7,8 @@ import ( "net/http" "time" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/examples/todo/schema" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/examples/todo/schema" ) func init() { diff --git a/examples/todo/schema/schema.go b/examples/todo/schema/schema.go index 1219600..8d69205 100644 --- a/examples/todo/schema/schema.go +++ b/examples/todo/schema/schema.go @@ -3,7 +3,7 @@ package schema import ( "math/rand" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) var TodoList []Todo diff --git a/executor.go b/executor.go index 389c4d7..3de8a5b 100644 --- a/executor.go +++ b/executor.go @@ -8,8 +8,8 @@ import ( "sort" "strings" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" ) type ExecuteParams struct { diff --git a/executor_resolve_test.go b/executor_resolve_test.go index 4e4f31f..b51f02e 100644 --- a/executor_resolve_test.go +++ b/executor_resolve_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/testutil" ) func testSchema(t *testing.T, testField *graphql.Field) graphql.Schema { diff --git a/executor_schema_test.go b/executor_schema_test.go index 4792ca1..06bfde6 100644 --- a/executor_schema_test.go +++ b/executor_schema_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/testutil" ) // TODO: have a separate package for other tests for eg `parser` diff --git a/executor_test.go b/executor_test.go index 48de1de..55db879 100644 --- a/executor_test.go +++ b/executor_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/testutil" ) func TestExecutesArbitraryCode(t *testing.T) { diff --git a/extensions.go b/extensions.go index 4ec357c..a0cec90 100644 --- a/extensions.go +++ b/extensions.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/tailor-inc/graphql/gqlerrors" + "github.com/tailor-platform/graphql/gqlerrors" ) type ( diff --git a/extensions_test.go b/extensions_test.go index dec5652..3df24e0 100644 --- a/extensions_test.go +++ b/extensions_test.go @@ -7,9 +7,9 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func tinit(t *testing.T) graphql.Schema { diff --git a/go.mod b/go.mod index ee0067b..e100f61 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/tailor-inc/graphql +module github.com/tailor-platform/graphql go 1.21 diff --git a/gqlerrors/error.go b/gqlerrors/error.go index a0c237b..60b5b9e 100644 --- a/gqlerrors/error.go +++ b/gqlerrors/error.go @@ -4,9 +4,9 @@ import ( "fmt" "reflect" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/language/source" ) type Error struct { diff --git a/gqlerrors/formatted.go b/gqlerrors/formatted.go index a013857..9fc65e6 100644 --- a/gqlerrors/formatted.go +++ b/gqlerrors/formatted.go @@ -3,7 +3,7 @@ package gqlerrors import ( "errors" - "github.com/tailor-inc/graphql/language/location" + "github.com/tailor-platform/graphql/language/location" ) type ExtendedError interface { diff --git a/gqlerrors/located.go b/gqlerrors/located.go index ac4e3d6..1a73114 100644 --- a/gqlerrors/located.go +++ b/gqlerrors/located.go @@ -2,7 +2,7 @@ package gqlerrors import ( "errors" - "github.com/tailor-inc/graphql/language/ast" + "github.com/tailor-platform/graphql/language/ast" ) // NewLocatedError creates a graphql.Error with location info diff --git a/gqlerrors/syntax.go b/gqlerrors/syntax.go index fe42b6c..b8cfef5 100644 --- a/gqlerrors/syntax.go +++ b/gqlerrors/syntax.go @@ -5,9 +5,9 @@ import ( "regexp" "strings" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/language/source" ) func NewSyntaxError(s *source.Source, position int, description string) *Error { diff --git a/graphql.go b/graphql.go index a3d5480..7947f8f 100644 --- a/graphql.go +++ b/graphql.go @@ -3,9 +3,9 @@ package graphql import ( "context" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/parser" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/parser" + "github.com/tailor-platform/graphql/language/source" ) type Params struct { diff --git a/graphql_bench_test.go b/graphql_bench_test.go index 7dac6cc..ed77d02 100644 --- a/graphql_bench_test.go +++ b/graphql_bench_test.go @@ -3,8 +3,8 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/benchutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/benchutil" ) type B struct { diff --git a/graphql_test.go b/graphql_test.go index 253955e..a39ecc9 100644 --- a/graphql_test.go +++ b/graphql_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/testutil" ) type T struct { diff --git a/introspection.go b/introspection.go index 6298adf..f764df8 100644 --- a/introspection.go +++ b/introspection.go @@ -5,8 +5,8 @@ import ( "reflect" "sort" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/printer" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/printer" ) const ( diff --git a/introspection_test.go b/introspection_test.go index c889f4f..db9a1c2 100644 --- a/introspection_test.go +++ b/introspection_test.go @@ -3,10 +3,10 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/testutil" ) func g(t *testing.T, p graphql.Params) *graphql.Result { diff --git a/language/ast/arguments.go b/language/ast/arguments.go index ca6db5f..13ff2ad 100644 --- a/language/ast/arguments.go +++ b/language/ast/arguments.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/tailor-inc/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/kinds" ) // Argument implements Node diff --git a/language/ast/definitions.go b/language/ast/definitions.go index 093f47d..4d9c74d 100644 --- a/language/ast/definitions.go +++ b/language/ast/definitions.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/tailor-inc/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/kinds" ) type Definition interface { diff --git a/language/ast/directives.go b/language/ast/directives.go index c2c4631..ef25d10 100644 --- a/language/ast/directives.go +++ b/language/ast/directives.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/tailor-inc/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/kinds" ) // Directive implements Node diff --git a/language/ast/document.go b/language/ast/document.go index 9342645..eca82ac 100644 --- a/language/ast/document.go +++ b/language/ast/document.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/tailor-inc/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/kinds" ) // Document implements Node diff --git a/language/ast/location.go b/language/ast/location.go index f4c9262..57eeafb 100644 --- a/language/ast/location.go +++ b/language/ast/location.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/language/source" ) type Location struct { diff --git a/language/ast/name.go b/language/ast/name.go index dd3772a..28aaeaa 100644 --- a/language/ast/name.go +++ b/language/ast/name.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/tailor-inc/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/kinds" ) // Name implements Node diff --git a/language/ast/selections.go b/language/ast/selections.go index 834f3bb..c5c6776 100644 --- a/language/ast/selections.go +++ b/language/ast/selections.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/tailor-inc/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/kinds" ) type Selection interface { diff --git a/language/ast/type_definitions.go b/language/ast/type_definitions.go index 1368339..9f49e0e 100644 --- a/language/ast/type_definitions.go +++ b/language/ast/type_definitions.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/tailor-inc/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/kinds" ) // DescribableNode are nodes that have descriptions associated with them. diff --git a/language/ast/types.go b/language/ast/types.go index 571c0dd..2bf62a1 100644 --- a/language/ast/types.go +++ b/language/ast/types.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/tailor-inc/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/kinds" ) type Type interface { diff --git a/language/ast/values.go b/language/ast/values.go index c21cc89..ae653ad 100644 --- a/language/ast/values.go +++ b/language/ast/values.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/tailor-inc/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/kinds" ) type Value interface { diff --git a/language/lexer/lexer.go b/language/lexer/lexer.go index adf0bab..c725c4e 100644 --- a/language/lexer/lexer.go +++ b/language/lexer/lexer.go @@ -7,8 +7,8 @@ import ( "strings" "unicode/utf8" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/source" ) type TokenKind int diff --git a/language/lexer/lexer_test.go b/language/lexer/lexer_test.go index ad90889..c621968 100644 --- a/language/lexer/lexer_test.go +++ b/language/lexer/lexer_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/language/source" ) type Test struct { diff --git a/language/location/location.go b/language/location/location.go index 17433b2..3388606 100644 --- a/language/location/location.go +++ b/language/location/location.go @@ -3,7 +3,7 @@ package location import ( "regexp" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/language/source" ) type SourceLocation struct { diff --git a/language/parser/parser.go b/language/parser/parser.go index e215a04..53d7ce7 100644 --- a/language/parser/parser.go +++ b/language/parser/parser.go @@ -3,10 +3,10 @@ package parser import ( "fmt" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/lexer" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/lexer" + "github.com/tailor-platform/graphql/language/source" ) type parseFn func(parser *Parser) (interface{}, error) diff --git a/language/parser/parser_test.go b/language/parser/parser_test.go index 95144c3..63f5b32 100644 --- a/language/parser/parser_test.go +++ b/language/parser/parser_test.go @@ -7,11 +7,11 @@ import ( "strings" "testing" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/language/printer" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/language/printer" + "github.com/tailor-platform/graphql/language/source" ) func TestBadToken(t *testing.T) { diff --git a/language/parser/schema_parser_test.go b/language/parser/schema_parser_test.go index 6a4125f..3a1b95c 100644 --- a/language/parser/schema_parser_test.go +++ b/language/parser/schema_parser_test.go @@ -4,10 +4,10 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/language/source" ) func parse(t *testing.T, query string) *ast.Document { diff --git a/language/printer/printer.go b/language/printer/printer.go index c3469e9..9546f4d 100644 --- a/language/printer/printer.go +++ b/language/printer/printer.go @@ -7,8 +7,8 @@ import ( "reflect" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/visitor" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/visitor" ) func getMapValue(m map[string]interface{}, key string) interface{} { diff --git a/language/printer/printer_test.go b/language/printer/printer_test.go index b0459ea..adbda17 100644 --- a/language/printer/printer_test.go +++ b/language/printer/printer_test.go @@ -5,10 +5,10 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/parser" - "github.com/tailor-inc/graphql/language/printer" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/parser" + "github.com/tailor-platform/graphql/language/printer" + "github.com/tailor-platform/graphql/testutil" ) func parse(t *testing.T, query string) *ast.Document { diff --git a/language/printer/schema_printer_test.go b/language/printer/schema_printer_test.go index 3458461..bbe0d63 100644 --- a/language/printer/schema_printer_test.go +++ b/language/printer/schema_printer_test.go @@ -5,9 +5,9 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/printer" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/printer" + "github.com/tailor-platform/graphql/testutil" ) func TestSchemaPrinter_PrintsMinimalAST(t *testing.T) { diff --git a/language/typeInfo/type_info.go b/language/typeInfo/type_info.go index 8e70ebe..701cade 100644 --- a/language/typeInfo/type_info.go +++ b/language/typeInfo/type_info.go @@ -1,7 +1,7 @@ package typeInfo import ( - "github.com/tailor-inc/graphql/language/ast" + "github.com/tailor-platform/graphql/language/ast" ) // TypeInfoI defines the interface for TypeInfo Implementation diff --git a/language/visitor/visitor.go b/language/visitor/visitor.go index e6fed6b..ea9a2ff 100644 --- a/language/visitor/visitor.go +++ b/language/visitor/visitor.go @@ -4,8 +4,8 @@ import ( "encoding/json" "reflect" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/typeInfo" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/typeInfo" ) const ( diff --git a/language/visitor/visitor_test.go b/language/visitor/visitor_test.go index a3f3da4..af8b7aa 100644 --- a/language/visitor/visitor_test.go +++ b/language/visitor/visitor_test.go @@ -7,13 +7,13 @@ import ( "fmt" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/kinds" - "github.com/tailor-inc/graphql/language/parser" - "github.com/tailor-inc/graphql/language/printer" - "github.com/tailor-inc/graphql/language/visitor" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/parser" + "github.com/tailor-platform/graphql/language/printer" + "github.com/tailor-platform/graphql/language/visitor" + "github.com/tailor-platform/graphql/testutil" ) func parse(t *testing.T, query string) *ast.Document { diff --git a/lists_test.go b/lists_test.go index b7807a7..dc4d09e 100644 --- a/lists_test.go +++ b/lists_test.go @@ -4,10 +4,10 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/testutil" ) func checkList(t *testing.T, testType graphql.Type, testData interface{}, expected *graphql.Result) { diff --git a/located.go b/located.go index 8a878cf..35bc1aa 100644 --- a/located.go +++ b/located.go @@ -3,8 +3,8 @@ package graphql import ( "errors" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" ) func NewLocatedError(err interface{}, nodes []ast.Node) *gqlerrors.Error { diff --git a/mutations_test.go b/mutations_test.go index e073bde..dbc830b 100644 --- a/mutations_test.go +++ b/mutations_test.go @@ -4,10 +4,10 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/testutil" ) // testNumberHolder maps to numberHolderType diff --git a/nonnull_test.go b/nonnull_test.go index 94f17d5..49fd3e4 100644 --- a/nonnull_test.go +++ b/nonnull_test.go @@ -4,10 +4,10 @@ import ( "sort" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/testutil" ) var syncError = "sync" diff --git a/race_test.go b/race_test.go index b17c39f..8816ea7 100644 --- a/race_test.go +++ b/race_test.go @@ -23,7 +23,7 @@ func TestRace(t *testing.T) { "runtime" "sync" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) func main() { diff --git a/rules.go b/rules.go index f979fad..4fc35f3 100644 --- a/rules.go +++ b/rules.go @@ -7,11 +7,11 @@ import ( "sort" "strings" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/kinds" - "github.com/tailor-inc/graphql/language/printer" - "github.com/tailor-inc/graphql/language/visitor" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/printer" + "github.com/tailor-platform/graphql/language/visitor" ) // SpecifiedRules set includes all validation rules defined by the GraphQL spec. diff --git a/rules_arguments_of_correct_type_test.go b/rules_arguments_of_correct_type_test.go index 52ed387..638951c 100644 --- a/rules_arguments_of_correct_type_test.go +++ b/rules_arguments_of_correct_type_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_ArgValuesOfCorrectType_ValidValue_GoodIntValue(t *testing.T) { diff --git a/rules_default_values_of_correct_type_test.go b/rules_default_values_of_correct_type_test.go index 86faad4..e7eede0 100644 --- a/rules_default_values_of_correct_type_test.go +++ b/rules_default_values_of_correct_type_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_VariableDefaultValuesOfCorrectType_VariablesWithNoDefaultValues(t *testing.T) { diff --git a/rules_fields_on_correct_type_test.go b/rules_fields_on_correct_type_test.go index 6fdeeb9..9330dcc 100644 --- a/rules_fields_on_correct_type_test.go +++ b/rules_fields_on_correct_type_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_FieldsOnCorrectType_ObjectFieldSelection(t *testing.T) { diff --git a/rules_fragments_on_composite_types_test.go b/rules_fragments_on_composite_types_test.go index ea28cba..de34e6e 100644 --- a/rules_fragments_on_composite_types_test.go +++ b/rules_fragments_on_composite_types_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_FragmentsOnCompositeTypes_ObjectIsValidFragmentType(t *testing.T) { diff --git a/rules_known_argument_names_test.go b/rules_known_argument_names_test.go index 7f72951..7140fa7 100644 --- a/rules_known_argument_names_test.go +++ b/rules_known_argument_names_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_KnownArgumentNames_SingleArgIsKnown(t *testing.T) { diff --git a/rules_known_directives_rule_test.go b/rules_known_directives_rule_test.go index d77db2e..7bedba8 100644 --- a/rules_known_directives_rule_test.go +++ b/rules_known_directives_rule_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_KnownDirectives_WithNoDirectives(t *testing.T) { diff --git a/rules_known_fragment_names_test.go b/rules_known_fragment_names_test.go index f11971d..8ae2569 100644 --- a/rules_known_fragment_names_test.go +++ b/rules_known_fragment_names_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_KnownFragmentNames_KnownFragmentNamesAreValid(t *testing.T) { diff --git a/rules_known_type_names_test.go b/rules_known_type_names_test.go index 3dd3fc3..2374149 100644 --- a/rules_known_type_names_test.go +++ b/rules_known_type_names_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_KnownTypeNames_KnownTypeNamesAreValid(t *testing.T) { diff --git a/rules_lone_anonymous_operation_rule_test.go b/rules_lone_anonymous_operation_rule_test.go index 693eefe..39041e1 100644 --- a/rules_lone_anonymous_operation_rule_test.go +++ b/rules_lone_anonymous_operation_rule_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_AnonymousOperationMustBeAlone_NoOperations(t *testing.T) { diff --git a/rules_no_fragment_cycles_test.go b/rules_no_fragment_cycles_test.go index 71ce3e9..d1b5389 100644 --- a/rules_no_fragment_cycles_test.go +++ b/rules_no_fragment_cycles_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_NoCircularFragmentSpreads_SingleReferenceIsValid(t *testing.T) { diff --git a/rules_no_undefined_variables_test.go b/rules_no_undefined_variables_test.go index df3bed5..2c0bd7e 100644 --- a/rules_no_undefined_variables_test.go +++ b/rules_no_undefined_variables_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_NoUndefinedVariables_AllVariablesDefined(t *testing.T) { diff --git a/rules_no_unused_fragments_test.go b/rules_no_unused_fragments_test.go index a91c3e8..6950ae8 100644 --- a/rules_no_unused_fragments_test.go +++ b/rules_no_unused_fragments_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_NoUnusedFragments_AllFragmentNamesAreUsed(t *testing.T) { diff --git a/rules_no_unused_variables_test.go b/rules_no_unused_variables_test.go index 10e2c33..501fcc8 100644 --- a/rules_no_unused_variables_test.go +++ b/rules_no_unused_variables_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_NoUnusedVariables_UsesAllVariables(t *testing.T) { diff --git a/rules_overlapping_fields_can_be_merged.go b/rules_overlapping_fields_can_be_merged.go index e5823b9..beeaf95 100644 --- a/rules_overlapping_fields_can_be_merged.go +++ b/rules_overlapping_fields_can_be_merged.go @@ -4,10 +4,10 @@ import ( "fmt" "strings" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/kinds" - "github.com/tailor-inc/graphql/language/printer" - "github.com/tailor-inc/graphql/language/visitor" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/printer" + "github.com/tailor-platform/graphql/language/visitor" ) func fieldsConflictMessage(responseName string, reason conflictReason) string { diff --git a/rules_overlapping_fields_can_be_merged_test.go b/rules_overlapping_fields_can_be_merged_test.go index 763b722..f9d208b 100644 --- a/rules_overlapping_fields_can_be_merged_test.go +++ b/rules_overlapping_fields_can_be_merged_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_OverlappingFieldsCanBeMerged_UniqueFields(t *testing.T) { diff --git a/rules_possible_fragment_spreads_test.go b/rules_possible_fragment_spreads_test.go index 6dc9c95..f7d6cc0 100644 --- a/rules_possible_fragment_spreads_test.go +++ b/rules_possible_fragment_spreads_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_PossibleFragmentSpreads_OfTheSameObject(t *testing.T) { diff --git a/rules_provided_non_null_arguments_test.go b/rules_provided_non_null_arguments_test.go index e6ff754..dc3c055 100644 --- a/rules_provided_non_null_arguments_test.go +++ b/rules_provided_non_null_arguments_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_ProvidedNonNullArguments_IgnoresUnknownArguments(t *testing.T) { diff --git a/rules_scalar_leafs_test.go b/rules_scalar_leafs_test.go index 8f97bef..a8af0fa 100644 --- a/rules_scalar_leafs_test.go +++ b/rules_scalar_leafs_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_ScalarLeafs_ValidScalarSelection(t *testing.T) { diff --git a/rules_unique_argument_names_test.go b/rules_unique_argument_names_test.go index 3b79e4b..0188599 100644 --- a/rules_unique_argument_names_test.go +++ b/rules_unique_argument_names_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_UniqueArgumentNames_NoArgumentsOnField(t *testing.T) { diff --git a/rules_unique_fragment_names_test.go b/rules_unique_fragment_names_test.go index ea22945..e7da059 100644 --- a/rules_unique_fragment_names_test.go +++ b/rules_unique_fragment_names_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_UniqueFragmentNames_NoFragments(t *testing.T) { diff --git a/rules_unique_input_field_names_test.go b/rules_unique_input_field_names_test.go index dd9aa5e..ba6929b 100644 --- a/rules_unique_input_field_names_test.go +++ b/rules_unique_input_field_names_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_UniqueInputFieldNames_InputObjectWithFields(t *testing.T) { diff --git a/rules_unique_operation_names_test.go b/rules_unique_operation_names_test.go index 0cdb718..a0e7e9a 100644 --- a/rules_unique_operation_names_test.go +++ b/rules_unique_operation_names_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_UniqueOperationNames_NoOperations(t *testing.T) { diff --git a/rules_unique_variable_names_test.go b/rules_unique_variable_names_test.go index b3bab50..b61ba52 100644 --- a/rules_unique_variable_names_test.go +++ b/rules_unique_variable_names_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_UniqueVariableNames_UniqueVariableNames(t *testing.T) { diff --git a/rules_variables_are_input_types_test.go b/rules_variables_are_input_types_test.go index dffe08c..2813f29 100644 --- a/rules_variables_are_input_types_test.go +++ b/rules_variables_are_input_types_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_VariablesAreInputTypes_(t *testing.T) { diff --git a/rules_variables_in_allowed_position_test.go b/rules_variables_in_allowed_position_test.go index 6da8ec2..8739d3b 100644 --- a/rules_variables_in_allowed_position_test.go +++ b/rules_variables_in_allowed_position_test.go @@ -3,9 +3,9 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/testutil" ) func TestValidate_VariablesInAllowedPosition_BooleanToBoolean(t *testing.T) { diff --git a/scalars.go b/scalars.go index b5a0a59..23ef802 100644 --- a/scalars.go +++ b/scalars.go @@ -9,7 +9,7 @@ import ( "strconv" "time" - "github.com/tailor-inc/graphql/language/ast" + "github.com/tailor-platform/graphql/language/ast" ) // As per the GraphQL Spec, Integers are only treated as valid when a valid diff --git a/scalars_parse_test.go b/scalars_parse_test.go index 522dbfb..0f56dd3 100644 --- a/scalars_parse_test.go +++ b/scalars_parse_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/language/ast" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/language/ast" ) func TestTypeSystem_Scalar_ParseValueOutputDateTime(t *testing.T) { diff --git a/scalars_serialization_test.go b/scalars_serialization_test.go index 6cd863f..634b531 100644 --- a/scalars_serialization_test.go +++ b/scalars_serialization_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) type intSerializationTest struct { diff --git a/sdl.go b/sdl.go index 25ae1db..cbb2be1 100644 --- a/sdl.go +++ b/sdl.go @@ -1,8 +1,8 @@ package graphql import ( - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/printer" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/printer" "strings" ) diff --git a/sdl_parser.go b/sdl_parser.go index 45748fc..767aae0 100644 --- a/sdl_parser.go +++ b/sdl_parser.go @@ -3,8 +3,8 @@ package graphql import ( "fmt" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/parser" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/parser" ) const ( diff --git a/sdl_parser_test.go b/sdl_parser_test.go index 74624d6..2049283 100644 --- a/sdl_parser_test.go +++ b/sdl_parser_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/parser" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/parser" ) func TestAstAsSchemaConfig(t *testing.T) { diff --git a/sdl_test.go b/sdl_test.go index 3b92530..7ad9af9 100644 --- a/sdl_test.go +++ b/sdl_test.go @@ -2,7 +2,7 @@ package graphql import ( "github.com/stretchr/testify/assert" - "github.com/tailor-inc/graphql/language/printer" + "github.com/tailor-platform/graphql/language/printer" "testing" ) diff --git a/subscription.go b/subscription.go index 838388b..bdfd282 100644 --- a/subscription.go +++ b/subscription.go @@ -4,9 +4,9 @@ import ( "context" "fmt" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/parser" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/parser" + "github.com/tailor-platform/graphql/language/source" ) // SubscribeParams parameters for subscribing diff --git a/subscription_test.go b/subscription_test.go index b3de4d1..c9a0561 100644 --- a/subscription_test.go +++ b/subscription_test.go @@ -5,8 +5,8 @@ import ( "fmt" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/testutil" ) func TestSchemaSubscribe(t *testing.T) { diff --git a/testutil/rules_test_harness.go b/testutil/rules_test_harness.go index e229e8e..a5050fa 100644 --- a/testutil/rules_test_harness.go +++ b/testutil/rules_test_harness.go @@ -3,11 +3,11 @@ package testutil import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/language/parser" - "github.com/tailor-inc/graphql/language/source" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/language/parser" + "github.com/tailor-platform/graphql/language/source" ) var TestSchema *graphql.Schema diff --git a/testutil/subscription.go b/testutil/subscription.go index 73c3ea4..2037ee9 100644 --- a/testutil/subscription.go +++ b/testutil/subscription.go @@ -8,7 +8,7 @@ import ( "strconv" "testing" - "github.com/tailor-inc/graphql" + "github.com/tailor-platform/graphql" ) // TestResponse models the expected response diff --git a/testutil/testutil.go b/testutil/testutil.go index 3a3e774..700418f 100644 --- a/testutil/testutil.go +++ b/testutil/testutil.go @@ -7,10 +7,10 @@ import ( "strconv" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/parser" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/parser" ) var ( diff --git a/testutil/testutil_test.go b/testutil/testutil_test.go index 333b89d..c26ef5b 100644 --- a/testutil/testutil_test.go +++ b/testutil/testutil_test.go @@ -3,7 +3,7 @@ package testutil_test import ( "testing" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql/testutil" ) func TestSubsetSlice_Simple(t *testing.T) { diff --git a/type_info.go b/type_info.go index b1260e5..f296444 100644 --- a/type_info.go +++ b/type_info.go @@ -1,8 +1,8 @@ package graphql import ( - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/kinds" ) // TODO: can move TypeInfo to a utils package if there ever is one diff --git a/types.go b/types.go index 277995d..d8aa911 100644 --- a/types.go +++ b/types.go @@ -1,7 +1,7 @@ package graphql import ( - "github.com/tailor-inc/graphql/gqlerrors" + "github.com/tailor-platform/graphql/gqlerrors" ) // type Schema interface{} diff --git a/union_interface_test.go b/union_interface_test.go index 51a03d5..0447b76 100644 --- a/union_interface_test.go +++ b/union_interface_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/testutil" ) type testNamedType interface { diff --git a/util_test.go b/util_test.go index 3dd72ca..93379ca 100644 --- a/util_test.go +++ b/util_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/testutil" ) type Person struct { diff --git a/validation_test.go b/validation_test.go index be62e5f..63371e3 100644 --- a/validation_test.go +++ b/validation_test.go @@ -3,8 +3,8 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/language/ast" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/language/ast" ) var someScalarType = graphql.NewScalar(graphql.ScalarConfig{ diff --git a/validator.go b/validator.go index f7911b6..b003aa0 100644 --- a/validator.go +++ b/validator.go @@ -1,10 +1,10 @@ package graphql import ( - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/kinds" - "github.com/tailor-inc/graphql/language/visitor" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/visitor" ) type ValidationResult struct { diff --git a/validator_test.go b/validator_test.go index 77f0a27..e894b8c 100644 --- a/validator_test.go +++ b/validator_test.go @@ -3,13 +3,13 @@ package graphql_test import ( "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/language/parser" - "github.com/tailor-inc/graphql/language/source" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/language/parser" + "github.com/tailor-platform/graphql/language/source" + "github.com/tailor-platform/graphql/testutil" ) func expectValid(t *testing.T, schema *graphql.Schema, queryString string) { diff --git a/values.go b/values.go index 427db53..4ed4b46 100644 --- a/values.go +++ b/values.go @@ -8,10 +8,10 @@ import ( "sort" "strings" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/kinds" - "github.com/tailor-inc/graphql/language/printer" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/kinds" + "github.com/tailor-platform/graphql/language/printer" ) // Prepares an object map of variableValues of the correct type based on the diff --git a/variables_test.go b/variables_test.go index 2e47666..a6813b9 100644 --- a/variables_test.go +++ b/variables_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "github.com/tailor-inc/graphql" - "github.com/tailor-inc/graphql/gqlerrors" - "github.com/tailor-inc/graphql/language/ast" - "github.com/tailor-inc/graphql/language/location" - "github.com/tailor-inc/graphql/testutil" + "github.com/tailor-platform/graphql" + "github.com/tailor-platform/graphql/gqlerrors" + "github.com/tailor-platform/graphql/language/ast" + "github.com/tailor-platform/graphql/language/location" + "github.com/tailor-platform/graphql/testutil" ) var testComplexScalar *graphql.Scalar = graphql.NewScalar(graphql.ScalarConfig{