From 9fe3016fb1a70badd51f67b6923c4389b42a62df Mon Sep 17 00:00:00 2001 From: Dustin Deus Date: Sat, 21 May 2022 16:26:29 +0200 Subject: [PATCH] migrate to new repository (#371) --- LICENSE | 2 +- README.md | 40 +-- cmd/directiveUnmarshalCode.go | 10 +- doc.go | 2 +- examples/chat/.gqlgen.yml | 2 +- examples/chat/go.mod | 13 +- examples/chat/go.sum | 13 - examples/chat/server/server.go | 2 +- examples/federation/accounts/gqlgen.yml | 2 +- .../accounts/graph/entity.resolvers.go | 4 +- .../accounts/graph/generated/generated.go | 2 +- examples/federation/accounts/graph/handler.go | 2 +- .../accounts/graph/schema.resolvers.go | 4 +- examples/federation/accounts/server.go | 2 +- .../federation/gateway/datasource_poller.go | 2 +- examples/federation/gateway/gateway.go | 4 +- examples/federation/gateway/http/handler.go | 2 +- examples/federation/gateway/http/http.go | 2 +- examples/federation/gateway/http/ws.go | 2 +- examples/federation/gateway/main.go | 6 +- examples/federation/go.mod | 57 ++++- examples/federation/go.sum | 238 +++--------------- examples/federation/products/gqlgen.yml | 2 +- .../products/graph/entity.resolvers.go | 4 +- .../products/graph/generated/generated.go | 2 +- examples/federation/products/graph/handler.go | 2 +- .../federation/products/graph/products.go | 2 +- .../products/graph/schema.resolvers.go | 4 +- examples/federation/products/server.go | 2 +- examples/federation/reviews/gqlgen.yml | 2 +- .../reviews/graph/entity.resolvers.go | 4 +- .../reviews/graph/generated/generated.go | 2 +- examples/federation/reviews/graph/handler.go | 2 +- examples/federation/reviews/graph/reviews.go | 2 +- .../reviews/graph/schema.resolvers.go | 4 +- examples/federation/reviews/server.go | 2 +- go.mod | 25 +- go.sum | 108 ++------ internal/pkg/unsafeparser/unsafeparser.go | 4 +- internal/pkg/unsafeprinter/unsafeprinter.go | 6 +- main.go | 2 +- pkg/ast/ast_argument.go | 6 +- pkg/ast/ast_description.go | 6 +- pkg/ast/ast_directive.go | 4 +- pkg/ast/ast_directive_definition.go | 4 +- pkg/ast/ast_enum_type_definition.go | 4 +- pkg/ast/ast_enum_type_extension.go | 4 +- pkg/ast/ast_enum_value_definition.go | 4 +- pkg/ast/ast_field.go | 4 +- pkg/ast/ast_field_alias.go | 4 +- pkg/ast/ast_field_definition.go | 6 +- pkg/ast/ast_fragment_definition.go | 4 +- pkg/ast/ast_fragment_spread.go | 4 +- pkg/ast/ast_inline_fragment.go | 4 +- pkg/ast/ast_input_object_type_definition.go | 4 +- pkg/ast/ast_input_object_type_extension.go | 4 +- pkg/ast/ast_input_value_definition.go | 4 +- pkg/ast/ast_interface_type_definition.go | 4 +- pkg/ast/ast_interface_type_extension.go | 4 +- pkg/ast/ast_node.go | 2 +- pkg/ast/ast_node_kind.go | 4 +- pkg/ast/ast_object_field.go | 4 +- pkg/ast/ast_object_type_definition.go | 4 +- pkg/ast/ast_object_type_definition_test.go | 6 +- pkg/ast/ast_object_type_extension.go | 4 +- pkg/ast/ast_operation_definition.go | 4 +- pkg/ast/ast_operation_definition_test.go | 2 +- pkg/ast/ast_root_operation_type_definition.go | 2 +- ...ast_root_operation_type_definition_test.go | 6 +- pkg/ast/ast_scalar_type_definition.go | 4 +- pkg/ast/ast_scalar_type_extension.go | 4 +- pkg/ast/ast_schema_definition.go | 2 +- pkg/ast/ast_schema_extension.go | 2 +- pkg/ast/ast_selection.go | 4 +- pkg/ast/ast_test.go | 8 +- pkg/ast/ast_type.go | 6 +- pkg/ast/ast_union_type_definition.go | 8 +- pkg/ast/ast_union_type_extension.go | 4 +- pkg/ast/ast_val_enum_value.go | 2 +- pkg/ast/ast_val_float_value.go | 4 +- pkg/ast/ast_val_int_value.go | 4 +- pkg/ast/ast_val_list_value.go | 2 +- pkg/ast/ast_val_object_value.go | 2 +- pkg/ast/ast_val_string_value.go | 2 +- pkg/ast/ast_val_variable_value.go | 4 +- pkg/ast/ast_value.go | 6 +- pkg/ast/ast_variable_definition.go | 4 +- pkg/ast/directive_location.go | 4 +- pkg/ast/index.go | 2 +- pkg/ast/input.go | 6 +- pkg/ast/path.go | 2 +- pkg/astimport/astimport.go | 2 +- pkg/astimport/astimport_test.go | 6 +- pkg/astnormalization/astnormalization.go | 6 +- pkg/astnormalization/astnormalization_test.go | 12 +- .../definition_normalization.go | 6 +- .../definition_normalization_test.go | 6 +- .../directive_include_skip.go | 6 +- pkg/astnormalization/enum_type_extending.go | 4 +- pkg/astnormalization/extends_directive.go | 4 +- pkg/astnormalization/field_deduplication.go | 4 +- .../field_selection_merging.go | 4 +- .../fragment_definition_removal.go | 4 +- .../fragment_spread_inlining.go | 8 +- pkg/astnormalization/fragmentspread_depth.go | 6 +- .../fragmentspread_depth_test.go | 6 +- .../implicit_extend_root_operation.go | 4 +- .../implicit_schema_definition.go | 4 +- .../inline_fragment_merging.go | 4 +- .../input_coercion_for_list.go | 8 +- .../input_object_type_extending.go | 4 +- .../interface_type_extending.go | 4 +- pkg/astnormalization/object_type_extending.go | 4 +- pkg/astnormalization/remove_self_aliasing.go | 4 +- .../remove_type_extensions.go | 4 +- pkg/astnormalization/scalar_type_extending.go | 4 +- .../subgraph_sdl_normalization.go | 6 +- pkg/astnormalization/union_type_extending.go | 4 +- .../variables_default_value_extraction.go | 8 +- pkg/astnormalization/variables_extraction.go | 8 +- .../variables_unused_deletion.go | 4 +- pkg/astparser/errors.go | 6 +- pkg/astparser/parser.go | 16 +- pkg/astparser/parser_test.go | 8 +- pkg/astparser/parser_token_helpers.go | 8 +- pkg/astparser/tokenizer.go | 8 +- pkg/astprinter/astprinter.go | 6 +- pkg/astprinter/astprinter_test.go | 4 +- pkg/asttransform/asttransform.go | 2 +- pkg/asttransform/baseschema.go | 6 +- pkg/asttransform/baseschema_test.go | 4 +- pkg/asttransform/typename_visitor.go | 8 +- pkg/astvalidation/definition_validation.go | 6 +- .../definition_validation_test.go | 4 +- ...peration_rule_all_variable_uses_defined.go | 6 +- .../operation_rule_all_variables_used.go | 6 +- .../operation_rule_argument_uniqueness.go | 6 +- .../operation_rule_directives_defined.go | 6 +- ...tion_rule_directives_in_valid_locations.go | 6 +- ...ion_rule_directives_unique_per_location.go | 6 +- ..._document_contains_executable_operation.go | 6 +- .../operation_rule_field_selection_merging.go | 8 +- pkg/astvalidation/operation_rule_fragments.go | 6 +- ...operation_rule_lone_anonymous_operation.go | 6 +- ...peration_rule_operation_name_uniqueness.go | 6 +- .../operation_rule_required_arguments.go | 6 +- ...ion_rule_subscription_single_root_field.go | 6 +- .../operation_rule_valid_arguments.go | 8 +- ...peration_rule_validate_field_selections.go | 8 +- pkg/astvalidation/operation_rule_values.go | 8 +- .../operation_rule_variable_uniqueness.go | 6 +- ...peration_rule_variables_are_input_types.go | 6 +- pkg/astvalidation/operation_validation.go | 6 +- .../operation_validation_test.go | 12 +- pkg/astvalidation/overlapping_fields_test.go | 6 +- .../reference/testsgo/harness_test.go | 12 +- pkg/astvalidation/rule.go | 2 +- .../rule_implement_transitive_interfaces.go | 6 +- .../rule_implementing_types_are_supersets.go | 6 +- pkg/astvalidation/rule_known_type_names.go | 6 +- ...le_require_defined_types_for_extensions.go | 6 +- .../rule_unique_enum_value_names.go | 6 +- .../rule_unique_field_definition_names.go | 6 +- .../rule_unique_operation_types.go | 6 +- pkg/astvalidation/rule_unique_type_names.go | 6 +- pkg/astvisitor/simplevisitor.go | 2 +- pkg/astvisitor/simplevisitor_test.go | 2 +- pkg/astvisitor/visitor.go | 6 +- pkg/astvisitor/visitor_test.go | 6 +- pkg/codegen/codegen.go | 12 +- pkg/codegen/codegen_test.go | 2 +- pkg/codegen/fixtures/DataSource.golden | 2 +- pkg/codegen/manual.go | 2 +- pkg/codegen/manual_test.go | 2 +- .../datasource/graphql_datasource/batch.go | 8 +- .../graphql_datasource/batch_test.go | 4 +- .../graphql_datasource/graphql_datasource.go | 28 +-- .../graphql_datasource_test.go | 8 +- .../datasource/httpclient/httpclient.go | 4 +- .../datasource/httpclient/httpclient_test.go | 4 +- .../datasource/httpclient/nethttpclient.go | 2 +- .../config_factory.go | 8 +- .../introspection_datasource/factory.go | 4 +- .../introspection_datasource/planner.go | 4 +- .../introspection_datasource/planner_test.go | 8 +- .../introspection_datasource/source.go | 2 +- .../introspection_datasource/source_test.go | 6 +- .../rest_datasource/rest_datasource.go | 18 +- .../rest_datasource/rest_datasource_test.go | 37 ++- .../staticdatasource/static_datasource.go | 2 +- .../static_datasource_test.go | 6 +- .../datasourcetesting/datasourcetesting.go | 16 +- pkg/engine/plan/analyze_plan_kind.go | 6 +- pkg/engine/plan/analyze_plan_kind_test.go | 4 +- pkg/engine/plan/local_type_field_extractor.go | 2 +- .../plan/local_type_field_extractor_test.go | 2 +- pkg/engine/plan/plan.go | 12 +- pkg/engine/plan/plan_closer_test.go | 12 +- pkg/engine/plan/plan_test.go | 12 +- pkg/engine/plan/required_field_extractor.go | 2 +- .../plan/required_field_extractor_test.go | 2 +- pkg/engine/resolve/dataloader.go | 2 +- pkg/engine/resolve/defer_test.go | 18 +- pkg/engine/resolve/fetcher.go | 4 +- pkg/engine/resolve/inputtemplate.go | 4 +- pkg/engine/resolve/resolve.go | 10 +- pkg/engine/resolve/resolve_mock_test.go | 4 +- pkg/engine/resolve/resolve_test.go | 2 +- pkg/engine/resolve/stream_test.go | 10 +- pkg/engine/resolve/variable.go | 6 +- pkg/execution/datasource/datasource.go | 8 +- .../datasource/datasource_graphql.go | 10 +- .../datasource/datasource_http_json.go | 6 +- .../datasource_http_polling_stream.go | 4 +- pkg/execution/datasource/datasource_mqtt.go | 4 +- pkg/execution/datasource/datasource_nats.go | 2 +- .../datasource/datasource_pipeline.go | 4 +- pkg/execution/datasource/datasource_schema.go | 4 +- pkg/execution/datasource_config.go | 2 +- pkg/execution/datasource_graphql_test.go | 8 +- pkg/execution/datasource_http_json_test.go | 12 +- pkg/execution/datasource_pipeline_test.go | 4 +- pkg/execution/execution.go | 10 +- pkg/execution/execution_test.go | 10 +- pkg/execution/handler.go | 8 +- pkg/execution/handler_test.go | 2 +- pkg/execution/jsonvaluetype.go | 4 +- pkg/execution/planning.go | 12 +- pkg/execution/planning_test.go | 14 +- pkg/execution/transformation_test.go | 4 +- pkg/federation/schema.go | 12 +- .../sdlmerge/interface_type_extending.go | 4 +- .../sdlmerge/object_type_extending.go | 4 +- .../remove_empty_object_type_definition.go | 4 +- .../remove_field_definition_by_directive.go | 4 +- .../remove_field_definition_directive.go | 4 +- .../remove_interface_definition_directive.go | 4 +- ...remove_object_type_definition_directive.go | 4 +- .../sdlmerge/remove_type_extensions.go | 4 +- pkg/federation/sdlmerge/sdlmerge.go | 12 +- pkg/federation/sdlmerge/sdlmerge_test.go | 8 +- .../sdlmerge/union_type_extending.go | 4 +- pkg/graphql/complexity.go | 6 +- pkg/graphql/config_factory_federation.go | 10 +- pkg/graphql/config_factory_federation_test.go | 10 +- pkg/graphql/config_factory_proxy.go | 6 +- pkg/graphql/config_factory_proxy_test.go | 4 +- pkg/graphql/engine_config_v2.go | 8 +- pkg/graphql/engine_config_v2_test.go | 6 +- pkg/graphql/errors.go | 6 +- pkg/graphql/errors_test.go | 4 +- pkg/graphql/execution_engine.go | 6 +- pkg/graphql/execution_engine_test.go | 4 +- pkg/graphql/execution_engine_v2.go | 20 +- pkg/graphql/execution_engine_v2_test.go | 24 +- pkg/graphql/extractor.go | 6 +- pkg/graphql/extractor_test.go | 2 +- .../federationtesting/accounts/gqlgen.yml | 2 +- .../accounts/graph/entity.resolvers.go | 4 +- .../accounts/graph/generated/generated.go | 2 +- .../accounts/graph/handler.go | 2 +- .../accounts/graph/histories.go | 2 +- .../accounts/graph/schema.resolvers.go | 4 +- .../federationtesting/accounts/handler.go | 2 +- .../federation_intergation_test.go | 8 +- .../gateway/datasource_poller.go | 2 +- .../federationtesting/gateway/gateway.go | 4 +- .../federationtesting/gateway/http/handler.go | 2 +- .../federationtesting/gateway/http/http.go | 2 +- .../federationtesting/gateway/http/ws.go | 2 +- pkg/graphql/federationtesting/gateway/main.go | 4 +- .../federationtesting/graphql_client_test.go | 4 +- .../federationtesting/products/gqlgen.yml | 2 +- .../products/graph/entity.resolvers.go | 4 +- .../products/graph/generated/generated.go | 2 +- .../products/graph/handler.go | 2 +- .../products/graph/products.go | 2 +- .../products/graph/schema.resolvers.go | 4 +- .../federationtesting/products/handler.go | 2 +- .../federationtesting/reviews/gqlgen.yml | 2 +- .../reviews/graph/entity.resolvers.go | 4 +- .../reviews/graph/generated/generated.go | 2 +- .../reviews/graph/handler.go | 2 +- .../reviews/graph/reviews.go | 2 +- .../reviews/graph/schema.resolvers.go | 4 +- .../federationtesting/reviews/handler.go | 2 +- pkg/graphql/normalization.go | 4 +- pkg/graphql/normalization_test.go | 6 +- pkg/graphql/request.go | 10 +- pkg/graphql/request_fields_validator.go | 2 +- pkg/graphql/request_fields_validator_test.go | 2 +- pkg/graphql/request_test.go | 2 +- pkg/graphql/schema.go | 20 +- pkg/graphql/schema_test.go | 8 +- pkg/graphql/starwars_helpers_test.go | 2 +- pkg/graphql/validation.go | 4 +- pkg/graphql/validation_test.go | 4 +- pkg/graphqljsonschema/jsonschema.go | 2 +- pkg/graphqljsonschema/jsonschema_test.go | 2 +- pkg/http/handler.go | 2 +- pkg/http/handler_test.go | 4 +- pkg/http/ws.go | 2 +- pkg/http/ws_test.go | 2 +- pkg/imports/graphql_file.go | 2 +- pkg/introspection/converter.go | 8 +- pkg/introspection/converter_test.go | 4 +- pkg/introspection/generator.go | 8 +- pkg/introspection/generator_test.go | 2 +- pkg/lexer/lexer.go | 8 +- pkg/lexer/lexer_test.go | 6 +- pkg/lexer/token/token.go | 6 +- .../operation_complexity.go | 6 +- .../operation_complexity_test.go | 6 +- pkg/operationreport/externalerror.go | 4 +- pkg/operationreport/externalerror_test.go | 2 +- pkg/pool/fastbuffer.go | 2 +- pkg/postprocess/datasourceinput.go | 4 +- pkg/postprocess/datasourceinput_test.go | 4 +- pkg/postprocess/defer.go | 6 +- pkg/postprocess/defer_test.go | 6 +- pkg/postprocess/postprocess.go | 2 +- pkg/postprocess/postprocess_test.go | 6 +- pkg/postprocess/stream.go | 6 +- pkg/postprocess/stream_test.go | 6 +- pkg/repair/sdl.go | 10 +- pkg/repair/sdl_test.go | 2 +- pkg/starwars/starwars.go | 4 +- pkg/subscription/executor_v1.go | 6 +- pkg/subscription/executor_v2.go | 6 +- pkg/subscription/handler.go | 6 +- pkg/subscription/handler_test.go | 12 +- 331 files changed, 992 insertions(+), 1201 deletions(-) diff --git a/LICENSE b/LICENSE index efc56cd1f..6cc10083c 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/README.md b/README.md index 6517dcee8..8a57b9bbb 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 @@ -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 @@ -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 diff --git a/cmd/directiveUnmarshalCode.go b/cmd/directiveUnmarshalCode.go index 3fc2d16dd..9ade6f8f3 100644 --- a/cmd/directiveUnmarshalCode.go +++ b/cmd/directiveUnmarshalCode.go @@ -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 ( diff --git a/doc.go b/doc.go index 0f7411c85..1e446169d 100644 --- a/doc.go +++ b/doc.go @@ -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 diff --git a/examples/chat/.gqlgen.yml b/examples/chat/.gqlgen.yml index 11a76e620..f19e22de8 100644 --- a/examples/chat/.gqlgen.yml +++ b/examples/chat/.gqlgen.yml @@ -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 diff --git a/examples/chat/go.mod b/examples/chat/go.mod index 6e6884576..281b4dc8f 100644 --- a/examples/chat/go.mod +++ b/examples/chat/go.mod @@ -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 @@ -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 +) diff --git a/examples/chat/go.sum b/examples/chat/go.sum index 249949c48..0c3d16d86 100644 --- a/examples/chat/go.sum +++ b/examples/chat/go.sum @@ -8,7 +8,6 @@ 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= @@ -16,11 +15,8 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs 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= @@ -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= @@ -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= @@ -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= diff --git a/examples/chat/server/server.go b/examples/chat/server/server.go index 6236b5932..0333a2682 100644 --- a/examples/chat/server/server.go +++ b/examples/chat/server/server.go @@ -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() { diff --git a/examples/federation/accounts/gqlgen.yml b/examples/federation/accounts/gqlgen.yml index b7a947714..d6872c916 100644 --- a/examples/federation/accounts/gqlgen.yml +++ b/examples/federation/accounts/gqlgen.yml @@ -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 # diff --git a/examples/federation/accounts/graph/entity.resolvers.go b/examples/federation/accounts/graph/entity.resolvers.go index d4962395a..5dd74b846 100644 --- a/examples/federation/accounts/graph/entity.resolvers.go +++ b/examples/federation/accounts/graph/entity.resolvers.go @@ -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) { diff --git a/examples/federation/accounts/graph/generated/generated.go b/examples/federation/accounts/graph/generated/generated.go index f1edef25d..0f6243e23 100644 --- a/examples/federation/accounts/graph/generated/generated.go +++ b/examples/federation/accounts/graph/generated/generated.go @@ -14,9 +14,9 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/introspection" "github.com/99designs/gqlgen/plugin/federation/fedruntime" - "github.com/jensneuse/graphql-go-tools/examples/federation/accounts/graph/model" gqlparser "github.com/vektah/gqlparser/v2" "github.com/vektah/gqlparser/v2/ast" + "github.com/wundergraph/graphql-go-tools/examples/federation/accounts/graph/model" ) // region ************************** generated!.gotpl ************************** diff --git a/examples/federation/accounts/graph/handler.go b/examples/federation/accounts/graph/handler.go index 3a966157a..1ff7f36a0 100644 --- a/examples/federation/accounts/graph/handler.go +++ b/examples/federation/accounts/graph/handler.go @@ -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 { diff --git a/examples/federation/accounts/graph/schema.resolvers.go b/examples/federation/accounts/graph/schema.resolvers.go index fd9f99460..5b2292804 100644 --- a/examples/federation/accounts/graph/schema.resolvers.go +++ b/examples/federation/accounts/graph/schema.resolvers.go @@ -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) { diff --git a/examples/federation/accounts/server.go b/examples/federation/accounts/server.go index 93eaf69e8..1def139d0 100644 --- a/examples/federation/accounts/server.go +++ b/examples/federation/accounts/server.go @@ -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" diff --git a/examples/federation/gateway/datasource_poller.go b/examples/federation/gateway/datasource_poller.go index 7311ad47e..551f7e827 100644 --- a/examples/federation/gateway/datasource_poller.go +++ b/examples/federation/gateway/datasource_poller.go @@ -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 { diff --git a/examples/federation/gateway/gateway.go b/examples/federation/gateway/gateway.go index 5526c7971..4f84db942 100644 --- a/examples/federation/gateway/gateway.go +++ b/examples/federation/gateway/gateway.go @@ -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 { diff --git a/examples/federation/gateway/http/handler.go b/examples/federation/gateway/http/handler.go index 999c8a9fe..a76b70789 100644 --- a/examples/federation/gateway/http/handler.go +++ b/examples/federation/gateway/http/handler.go @@ -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 ( diff --git a/examples/federation/gateway/http/http.go b/examples/federation/gateway/http/http.go index b9e358559..a29a4091c 100644 --- a/examples/federation/gateway/http/http.go +++ b/examples/federation/gateway/http/http.go @@ -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 ( diff --git a/examples/federation/gateway/http/ws.go b/examples/federation/gateway/http/ws.go index e4f41bfd3..241c4d0bd 100644 --- a/examples/federation/gateway/http/ws.go +++ b/examples/federation/gateway/http/ws.go @@ -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. diff --git a/examples/federation/gateway/main.go b/examples/federation/gateway/main.go index 54bd54ddd..3f4aed29d 100644 --- a/examples/federation/gateway/main.go +++ b/examples/federation/gateway/main.go @@ -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. diff --git a/examples/federation/go.mod b/examples/federation/go.mod index 852f55d49..f82724542 100644 --- a/examples/federation/go.mod +++ b/examples/federation/go.mod @@ -1,17 +1,64 @@ -module github.com/jensneuse/graphql-go-tools/examples/federation +module github.com/wundergraph/graphql-go-tools/examples/federation -go 1.15 +go 1.18 require ( github.com/99designs/gqlgen v0.13.1-0.20210728041543-7e38dd46943c github.com/gobwas/ws v1.0.4 github.com/gorilla/websocket v1.4.2 github.com/jensneuse/abstractlogger v0.0.4 - github.com/jensneuse/graphql-go-tools v1.20.2 - github.com/nats-io/nats-server/v2 v2.3.2 // indirect github.com/vektah/gqlparser/v2 v2.2.0 + github.com/wundergraph/graphql-go-tools v0.0.0-00010101000000-000000000000 go.uber.org/atomic v1.9.0 go.uber.org/zap v1.18.1 ) -replace github.com/jensneuse/graphql-go-tools => ../../ +require ( + github.com/Masterminds/goutils v1.1.0 // indirect + github.com/Masterminds/semver v1.5.0 // indirect + github.com/Masterminds/sprig v2.22.0+incompatible // indirect + github.com/agnivade/levenshtein v1.1.1 // indirect + github.com/buger/jsonparser v1.1.1 // indirect + github.com/cespare/xxhash/v2 v2.1.2 // indirect + github.com/eclipse/paho.mqtt.golang v1.2.0 // indirect + github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee // indirect + github.com/gobwas/pool v0.2.0 // indirect + github.com/google/uuid v1.1.1 // indirect + github.com/hashicorp/golang-lru v0.5.4 // indirect + github.com/huandu/xstrings v1.2.1 // indirect + github.com/imdario/mergo v0.3.8 // indirect + github.com/jensneuse/byte-template v0.0.0-20200214152254-4f3cf06e5c68 // indirect + github.com/jensneuse/pipeline v0.0.0-20200117120358-9fb4de085cd6 // indirect + github.com/klauspost/compress v1.14.4 // indirect + github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect + github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381 // indirect + github.com/mattn/go-colorable v0.1.4 // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/minio/highwayhash v1.0.2 // indirect + github.com/mitchellh/copystructure v1.0.0 // indirect + github.com/mitchellh/mapstructure v1.4.1 // indirect + github.com/mitchellh/reflectwalk v1.0.0 // indirect + github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a // indirect + github.com/nats-io/nats.go v1.14.0 // indirect + github.com/nats-io/nkeys v0.3.0 // indirect + github.com/nats-io/nuid v1.0.1 // indirect + github.com/qri-io/jsonpointer v0.1.1 // indirect + github.com/qri-io/jsonschema v0.2.1 // indirect + github.com/sirupsen/logrus v1.4.2 // indirect + github.com/tidwall/gjson v1.11.0 // indirect + github.com/tidwall/match v1.1.1 // indirect + github.com/tidwall/pretty v1.2.0 // indirect + github.com/tidwall/sjson v1.0.4 // indirect + go.uber.org/multierr v1.6.0 // indirect + golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd // indirect + golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f // indirect + golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect + golang.org/x/sys v0.0.0-20220111092808-5a964db01320 // indirect + golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect + golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect + nhooyr.io/websocket v1.8.7 // indirect +) + +replace github.com/wundergraph/graphql-go-tools/examples/chat => ./../chat + +replace github.com/wundergraph/graphql-go-tools => ../../ diff --git a/examples/federation/go.sum b/examples/federation/go.sum index bdfb72e31..5417f8a62 100644 --- a/examples/federation/go.sum +++ b/examples/federation/go.sum @@ -1,8 +1,5 @@ -github.com/99designs/gqlgen v0.13.0 h1:haLTcUp3Vwp80xMVEg5KRNwzfUrgFdRmtBY8fuB8scA= -github.com/99designs/gqlgen v0.13.0/go.mod h1:NV130r6f4tpRWuAI+zsrSdooO/eWUv+Gyyoi3rEfXIk= github.com/99designs/gqlgen v0.13.1-0.20210728041543-7e38dd46943c h1:tEDQ6XnvZQ98sZd7iqq5pe4YsstBu7TOS6T5GhNsp2s= github.com/99designs/gqlgen v0.13.1-0.20210728041543-7e38dd46943c/go.mod h1:S7z4boV+Nx4VvzMUpVrY/YuHjFX4n7rDyuTqvAkuoRE= -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/Masterminds/goutils v1.1.0 h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg= github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= @@ -10,12 +7,7 @@ github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3Q github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= -github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/OneOfOne/xxhash v1.2.8 h1:31czK/TI9sNkxIKfaUfGlU47BAxQ0ztGgd9vPyqimf8= -github.com/OneOfOne/xxhash v1.2.8/go.mod h1:eZbhyaAYD41SGSSsnmcpxVoRiQ/MPUTjUdIIOT9Um7Q= github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM= -github.com/agnivade/levenshtein v1.0.3/go.mod h1:4SFRZbbXWLF4MU1T9Qg0pGgH3Pjs+t6ie5efyrwRJXs= github.com/agnivade/levenshtein v1.1.0/go.mod h1:veldBMzWxcCG2ZvUTKD2kJNRdCk5hVbJomOvKkmgYbo= github.com/agnivade/levenshtein v1.1.1 h1:QY8M92nrzkmr798gCo3kmMyqXFzdQVpxLlGPRBij0P8= github.com/agnivade/levenshtein v1.1.1/go.mod h1:veldBMzWxcCG2ZvUTKD2kJNRdCk5hVbJomOvKkmgYbo= @@ -23,47 +15,25 @@ 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/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6 h1:G1bPvciwNyF7IUmKXNt9Ak3m6u9DE1rF+RmtIkBpVdA= -github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= -github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23 h1:D21IyuvjDCshj1/qq+pCNd3VZOAEI9jy6Bi131YlXgI= -github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs= github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= -github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/coreos/etcd v3.3.10+incompatible h1:jFneRYjIvLMLhDLCzuTuU4rSJUjRplcJQ7pD7MnhC04= -github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-etcd v2.0.0+incompatible h1:bXhRBIXoTm9BYHS3gE0TtQuyNZyeEMux2sDi4oo5YOo= -github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= -github.com/coreos/go-semver v0.2.0 h1:3Jm3tLmsgAYcjC+4Up7hJrFBPr+n7rAqYeSw/SZazuY= -github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk= -github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= -github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY= +github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= +github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/dave/jennifer v1.4.0 h1:tNJFJmLDVTLu+v05mVZ88RINa3vQqnyyWkTKWYz0CwE= -github.com/dave/jennifer v1.4.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg= 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/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA= github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48 h1:fRzb/w+pyskVMQ+UbP35JkH8yB7MYb4q/qhBarqZE6g= github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA= github.com/eclipse/paho.mqtt.golang v1.2.0 h1:1F8mhG9+aO5/xpdtFkW4SxOJB67ukuDC3t2y2qayIX0= github.com/eclipse/paho.mqtt.golang v1.2.0/go.mod h1:H9keYFcgq3Qr5OUJm/JZI/i6U7joQ8SYLhZwfeOo6Ts= github.com/evanphx/json-patch/v5 v5.1.0 h1:B0aXl1o/1cP8NbviYiBMkcHBtUjIJ1/Ccg6b+SwCLQg= -github.com/evanphx/json-patch/v5 v5.1.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= -github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3 h1:ahKqKTFpO5KTPHxWZjEdPScmYaGtLo8Y4DMHoEsnp14= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= -github.com/go-chi/chi v3.3.2+incompatible h1:uQNcQN3NsV1j4ANsPh42P4ew4t6rnRbJb8frvpp31qQ= -github.com/go-chi/chi v3.3.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ= -github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= @@ -72,17 +42,6 @@ github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+ github.com/go-playground/validator/v10 v10.2.0 h1:KgJ0snyC2R9VXYN2rneOtQcw5aHQB1Vv0sFl1UcHBOY= github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= github.com/go-test/deep v1.0.4 h1:u2CU3YKy9I2pmu9pX0eq50wCgjfGIt539SqR7FbHiho= -github.com/go-test/deep v1.0.4/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= -github.com/gobuffalo/envy v1.7.0 h1:GlXgaiBkmrYMHco6t4j7SacKO4XUjvh5pwXh0f4uxXU= -github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= -github.com/gobuffalo/logger v1.0.0 h1:xw9Ko9EcC5iAFprrjJ6oZco9UpzS5MQ4jAwghsLHdy4= -github.com/gobuffalo/logger v1.0.0/go.mod h1:2zbswyIUa45I+c+FLXuWl9zSWEiVuthsk8ze5s8JvPs= -github.com/gobuffalo/packd v0.3.0 h1:eMwymTkA1uXsqxS0Tpoop3Lc0u3kTfiMBE6nKtQU4g4= -github.com/gobuffalo/packd v0.3.0/go.mod h1:zC7QkmNkYVGKPw4tHpBQ+ml7W/3tIebgeo1b36chA3Q= -github.com/gobuffalo/packr v1.30.1 h1:hu1fuVR3fXEZR7rXNW3h8rqSML8EVAf6KNm0NKO/wKg= -github.com/gobuffalo/packr v1.30.1/go.mod h1:ljMyFO2EcrnzsHsN99cvbq055Y9OhRrIaviy289eRuk= -github.com/gobuffalo/packr/v2 v2.5.1 h1:TFOeY2VoGamPjQLiNDT3mn//ytzk236VMO2j7iHxJR4= -github.com/gobuffalo/packr/v2 v2.5.1/go.mod h1:8f9c96ITobJlPzI44jj+4tHnEKNt0xXWSVlXRN9X1Iw= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee h1:s+21KNqlpePfkah2I+gwHF8xmJWRjooY+5248k6m4A0= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0 h1:QEmUOlnSjWtnpRGHF3SauEiOsy82Cup83Vf2LcMlnc8= @@ -90,35 +49,18 @@ github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6Wezm github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= github.com/gobwas/ws v1.0.4 h1:5eXU1CZhpQdq5kXbKb+sECH5Ia5KiO6CYzIzdlVx6Bs= github.com/gobwas/ws v1.0.4/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= -github.com/gogo/protobuf v1.0.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/mock v1.4.1 h1:ocYkMQY5RrXTYgXl7ICpV0IXwlEQGwKIsery4gyXa1U= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/snappy v0.0.3 h1:fHPg5GQYlCeLIPB9BZqMVR5nR9A+IM5zcgeTdjMYmLA= -github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= +github.com/golang/protobuf v1.5.0 h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw= +github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/renameio v0.1.0 h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -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.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= @@ -126,75 +68,45 @@ github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/huandu/xstrings v1.2.1 h1:v6IdmkCnDhJG/S0ivr58PeIfg+tyhqQYy4YsCsQ0Pdc= github.com/huandu/xstrings v1.2.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334 h1:VHgatEHNcBFEB7inlalqfNqw65aNkM1lGX2yt3NmbS8= -github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334/go.mod h1:SK73tn/9oHe+/Y0h39VT4UCxmurVJkR5NA7kMEAOgSE= github.com/imdario/mergo v0.3.8 h1:CGgOkSJeqMRmt0D9XLWExdT4m4F1vd3FV3VPt+0VxkQ= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jensneuse/abstractlogger v0.0.4 h1:sa4EH8fhWk3zlTDbSncaWKfwxYM8tYSlQ054ETLyyQY= github.com/jensneuse/abstractlogger v0.0.4/go.mod h1:6WuamOHuykJk8zED/R0LNiLhWR6C7FIAo43ocUEB3mo= github.com/jensneuse/byte-template v0.0.0-20200214152254-4f3cf06e5c68 h1:E80wOd3IFQcoBxLkAUpUQ3BoGrZ4DxhQdP21+HH1s6A= github.com/jensneuse/byte-template v0.0.0-20200214152254-4f3cf06e5c68/go.mod h1:0D5r/VSW6D/o65rKLL9xk7sZxL2+oku2HvFPYeIMFr4= github.com/jensneuse/diffview v1.0.0 h1:4b6FQJ7y3295JUHU3tRko6euyEboL825ZsXeZZM47Z4= -github.com/jensneuse/diffview v1.0.0/go.mod h1:i6IacuD8LnEaPuiyzMHA+Wfz5mAuycMOf3R/orUY9y4= -github.com/jensneuse/graphql-go-tools/examples/chat v0.0.0-20210714083836-7bf4457dc2b2 h1:9Fz+13ph1LjrZCip1ymflwPQT6Mcyjfw1rH1wC1gvV4= -github.com/jensneuse/graphql-go-tools/examples/chat v0.0.0-20210714083836-7bf4457dc2b2/go.mod h1:KQO0HE/7k6+BPuPyg9wPx8MC/sjmZmQnq3wCcv4DCEY= -github.com/jensneuse/graphql-go-tools/examples/federation v0.0.0-20210714083836-7bf4457dc2b2/go.mod h1:bby8E+a/+kl+6Ug/3MSvqx1QcN1CX2goY3KW1baJfGw= github.com/jensneuse/pipeline v0.0.0-20200117120358-9fb4de085cd6 h1:y8hvuqbuVGFNpEos+vB5I5X+QxWm0uyTk+5oeOinMjY= github.com/jensneuse/pipeline v0.0.0-20200117120358-9fb4de085cd6/go.mod h1:UsfzaMt+keVOxa007GcCJMFeTHr6voRfBGMQEW7DkdM= -github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc= -github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/karrick/godirwalk v1.10.12 h1:BqUm+LuJcXjGv1d2mj3gBiQyrQ57a0rYoAmhvJQ7RDU= -github.com/karrick/godirwalk v1.10.12/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= -github.com/kisielk/errcheck v1.5.0 h1:e8esj/e4R+SAOwFwN+n3zr0nYeCyeweozKfO23MvHzY= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.11.12/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.13.1 h1:wXr2uRxZTJXHLly6qhJabee5JqIhTRoLBhDOA74hDEQ= -github.com/klauspost/compress v1.13.1/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= +github.com/klauspost/compress v1.14.4 h1:eijASRJcobkVtSt81Olfh7JX43osYLwy5krOJo6YEu4= +github.com/klauspost/compress v1.14.4/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8= -github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1 h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381 h1:bqDmpDG49ZRnB5PcgP0RXtQvnMSgIF14M7CBd2shtXs= github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4= -github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY= -github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/matryer/moq v0.0.0-20200106131100-75d0ddfc0007 h1:reVOUXwnhsYv/8UqjvhrMOu5CNT9UapHFLbQ2JcXsmg= github.com/matryer/moq v0.0.0-20200106131100-75d0ddfc0007/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= github.com/mattn/go-colorable v0.1.4 h1:snbPLB8fVfU9iwbbo30TPtbLRzwWu6aJS6Xh4eaaviA= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/minio/highwayhash v1.0.1 h1:dZ6IIu8Z14VlC0VpfKofAhCy74wu/Qb5gcn52yWoz/0= -github.com/minio/highwayhash v1.0.1/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= +github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= +github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= github.com/mitchellh/copystructure v1.0.0 h1:Laisrj+bAB6b/yJwB5Bt3ITZhGJdqmxquMKeZ+mmkFQ= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= -github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v0.0.0-20180203102830-a4e142e9c047/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.4.1 h1:CpVNEelQCZBooIPDn+AR3NpivK/TIKU8bDxdASFVQag= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/reflectwalk v1.0.0 h1:9D+8oIskB4VJBN5SFlmc27fSlIBZaov1Wpk/IfikLNY= @@ -203,70 +115,38 @@ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OH github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/nats-io/jwt v1.2.2 h1:w3GMTO969dFg+UOKTmmyuu7IGdusK+7Ytlt//OYH/uU= -github.com/nats-io/jwt v1.2.2/go.mod h1:/xX356yQA6LuXI9xWW7mZNpxgF2mBmGecH+Fj34sP5Q= -github.com/nats-io/jwt/v2 v2.0.2 h1:ejVCLO8gu6/4bOKIHQpmB5UhhUJfAQw55yvLWpfmKjI= -github.com/nats-io/jwt/v2 v2.0.2/go.mod h1:VRP+deawSXyhNjXmxPCHskrR6Mq50BqpEI5SEcNiGlY= -github.com/nats-io/nats-server/v2 v2.3.2 h1:SGJLWrjBHsl0DsdY8PeTR3YKEfiUEYVVq2STw9d8MSY= -github.com/nats-io/nats-server/v2 v2.3.2/go.mod h1:dUf7Cm5z5LbciFVwWx54owyCKm8x4/hL6p7rrljhLFY= -github.com/nats-io/nats.go v1.11.1-0.20210623165838-4b75fc59ae30 h1:9GqilBhZaR3xYis0JgMlJjNw933WIobdjKhilXm+Vls= -github.com/nats-io/nats.go v1.11.1-0.20210623165838-4b75fc59ae30/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w= -github.com/nats-io/nkeys v0.2.0/go.mod h1:XdZpAbhgyyODYqjTawOnIOI7VlbKSarI9Gfy1tqEu/s= +github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a h1:lem6QCvxR0Y28gth9P+wV2K/zYUUAkJ+55U8cpS0p5I= +github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a/go.mod h1:0tqz9Hlu6bCBFLWAASKhE5vUA4c24L9KPUUgvwumE/k= +github.com/nats-io/nats-server/v2 v2.8.2 h1:5m1VytMEbZx0YINvKY+X2gXdLNwP43uLXnFRwz8j8KE= +github.com/nats-io/nats.go v1.14.0 h1:/QLCss4vQ6wvDpbqXucsVRDi13tFIR6kTdau+nXzKJw= +github.com/nats-io/nats.go v1.14.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w= github.com/nats-io/nkeys v0.3.0 h1:cgM5tL53EvYRU+2YLXIK0G2mJtK12Ft9oeooSZMA2G8= github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4= github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= -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 h1:3jA2P6O1F9UOrWVpwrIo17pu01KWvNWg4X946/Y5Zwg= github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -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/pkg/sftp v1.10.1 h1:VasscCm72135zRysgrJDKsntdmPN+OuU3+nnHYA9wyc= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= 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/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.3.0 h1:RR9dF3JtopPvtkroDZuVD7qquD0bnHlKSqaQhgwt8yk= +github.com/qri-io/jsonpointer v0.1.1 h1:prVZBZLL6TW5vsSB9fFHFAMBLI4b0ri5vribQlTJiBA= +github.com/qri-io/jsonpointer v0.1.1/go.mod h1:DnJPaYgiKu56EuDp8TU5wFLdZIcAnb/uH9v37ZaMV64= +github.com/qri-io/jsonschema v0.2.1 h1:NNFoKms+kut6ABPf6xiKNM5214jzxAhDBrPHCJ97Wg0= +github.com/qri-io/jsonschema v0.2.1/go.mod h1:g7DPkiOsK1xv6T/Ao5scXRkd+yTFygcANPBaaqW+VrI= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= 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 v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo= -github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= -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/sebdah/goldie v0.0.0-20180424091453-8784dd1ab561 h1:IY+sDBJR/wRtsxq+626xJnt4Tw7/ROA9cDIR8MMhWyg= -github.com/sebdah/goldie v0.0.0-20180424091453-8784dd1ab561/go.mod h1:lvjGftC8oe7XPtyrOidaMi0rp5B9+XY/ZRUynGnuaxQ= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= 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/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY= -github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= -github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v0.0.5 h1:f0B+LkLX6DtmRH1isoNA9VTtNUK9K8xYd28JNNfOv/s= -github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= -github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/viper v1.3.2 h1:VUFqw5KcqRf7i70GOzW7N+Q7+gxVBkSSqiXB12+JQ4M= -github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1 h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= @@ -274,120 +154,89 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV 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/tidwall/gjson v1.3.5 h1:2oW9FBNu8qt9jy5URgrzsVx/T/KSn3qn/smJQ0crlDQ= -github.com/tidwall/gjson v1.3.5/go.mod h1:P256ACg0Mn+j1RXIDXoss50DeIABTYK1PULOJHhxOls= -github.com/tidwall/gjson v1.8.1 h1:8j5EE9Hrh3l9Od1OIEDAb7IpezNA20UdRngNAj5N0WU= -github.com/tidwall/gjson v1.8.1/go.mod h1:5/xDoumyyDNerp2U36lyolv46b3uF/9Bu6OfyQ9GImk= -github.com/tidwall/match v1.0.1 h1:PnKP62LPNxHKTwvHHZZzdOAOCtsJTjo6dZLCwpKm5xc= -github.com/tidwall/match v1.0.1/go.mod h1:LujAq0jyVjBy028G1WhWfIzbpQfMO8bBZ6Tyb0+pL9E= -github.com/tidwall/match v1.0.3 h1:FQUVvBImDutD8wJLN6c5eMzWtjgONK9MwIBCOrUJKeE= -github.com/tidwall/match v1.0.3/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= -github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4= -github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= -github.com/tidwall/pretty v1.1.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tidwall/gjson v1.11.0 h1:C16pk7tQNiH6VlCrtIXL1w8GaOsi1X3W8KDkE1BuYd4= +github.com/tidwall/gjson v1.11.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= +github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= +github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/sjson v1.0.4 h1:UcdIRXff12Lpnu3OLtZvnc03g4vH2suXDXhBwBqmzYg= github.com/tidwall/sjson v1.0.4/go.mod h1:bURseu1nuBkFpIES5cz6zBtjmYeOQmEESshn7VpF15Y= github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= -github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= -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 h1:+w0Zm/9gaWpEAyDlU1eKOuk5twTjAjuevXqcJJw8hrg= 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= github.com/vektah/gqlparser/v2 v2.2.0 h1:bAc3slekAAJW6sZTi07aGq0OrfaCjj4jxARAaC7g2EM= github.com/vektah/gqlparser/v2 v2.2.0/go.mod h1:i3mQIGIrbK2PD1RrCeMTlVbkF2FJ6WkU1KJlJlC+3F4= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 h1:ESFSdwYZvkeru3RtdrYueztKhOBCSAAzS4Gf+k0tEow= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1 h1:ruQGxdhGHe7FWOJPT0mKs5+pD2Xs1Bm/kdGlHO04FmM= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.uber.org/atomic v1.5.0 h1:OI5t8sDa1Or+q8AeE+yKeB/SDYioSHAgcVljj9JIETY= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/goleak v1.1.10 h1:z+mqJhf6ss6BSfSM671tgKyZBFPTTJM+HLxnhPC3wu0= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= -go.uber.org/multierr v1.3.0 h1:sFPn2GLc3poCkfrpIXGhBD2X0CMIo4Q/zSULXrj/+uc= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= -go.uber.org/zap v1.13.0 h1:nR6NoDBgAf67s68NhaXbsojM+2gxp3S1hWkHDl27pVU= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.uber.org/zap v1.18.1 h1:CSUJ2mjFszzEWt4CdKISEuChVIXGBn3lAPwkRGyVrc4= go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= -golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e h1:gsTQYXdTw2Gq7RBsWvlQ91b+aEQ6bXFUngBGuR8sPpI= -golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= +golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd h1:XcWmESyNjXJMLahc3mqVQJcgSTDxFxhETVlfk9uGc38= +golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f h1:J5lckAjkw6qYlOZNj90mLYNTEKDvWeuc1yieZ8qUzUE= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 h1:qWPm9rbaAMKs8Bq/9LRpbMqxWRVUAQwMI9fVrssnTfw= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 h1:CIJ76btIcR3eFI5EgSo6k1qKw9KJexJuRLI9G7Hp5wE= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190130150945-aca44879d564/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190515120540-06a5c4944438/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= +golang.org/x/sys v0.0.0-20220111092808-5a964db01320 h1:0jf+tOCoZ3LyutmCOWpVni1chK4VfFLhRsDK7MhqGRY= +golang.org/x/sys v0.0.0-20220111092808-5a964db01320/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1 h1:NusfzzA6yGQ+ua51ck7E3omNUX/JuqbFSaRGqU8CcLI= -golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 h1:GZokNIeuVkl3aZHJchRrr13WCsols02MLUcz1U9is6M= +golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190515012406-7d7faa4812bd/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190624180213-70d37148ca0c/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -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/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a h1:CB3a9Nez8M13wwlr/E2YtwoU+qYHKfC+JrDa45RXXoQ= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= @@ -396,37 +245,20 @@ golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0 h1:0vLT13EuvQ0hNvakwLuFZ/jYrLp5F3kcWHXdRggjCE8= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/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= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= nhooyr.io/websocket v1.8.7 h1:usjR2uOr/zjjkVMy0lW+PPohFok7PCow5sDjLgX4P4g= nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= -rsc.io/quote/v3 v3.1.0 h1:9JKUTTIUgS6kzR9mK1YuGKv6Nl+DijDNIc0ghT58FaY= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0 h1:7uVkIFmeBqHfdjD+gZwtXXI+RODJ2Wc4O7MPEh/QiW4= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sourcegraph.com/sourcegraph/appdash v0.0.0-20180110180208-2cc67fd64755/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= -sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 h1:ucqkfpjg9WzSUubAO62csmucvxl4/JeW3F4I4909XkM= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/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= diff --git a/examples/federation/products/gqlgen.yml b/examples/federation/products/gqlgen.yml index 5060a7ab0..e18a082bc 100644 --- a/examples/federation/products/gqlgen.yml +++ b/examples/federation/products/gqlgen.yml @@ -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/products/graph/model" + - "github.com/wundergraph/graphql-go-tools/examples/federation/products/graph/model" # This section declares type mapping between the GraphQL and go type systems # diff --git a/examples/federation/products/graph/entity.resolvers.go b/examples/federation/products/graph/entity.resolvers.go index 80801ccce..b456cf34d 100644 --- a/examples/federation/products/graph/entity.resolvers.go +++ b/examples/federation/products/graph/entity.resolvers.go @@ -6,8 +6,8 @@ package graph import ( "context" - "github.com/jensneuse/graphql-go-tools/examples/federation/products/graph/generated" - "github.com/jensneuse/graphql-go-tools/examples/federation/products/graph/model" + "github.com/wundergraph/graphql-go-tools/examples/federation/products/graph/generated" + "github.com/wundergraph/graphql-go-tools/examples/federation/products/graph/model" ) func (r *entityResolver) FindProductByUpc(ctx context.Context, upc string) (*model.Product, error) { diff --git a/examples/federation/products/graph/generated/generated.go b/examples/federation/products/graph/generated/generated.go index 9f1f46285..6b5db9926 100644 --- a/examples/federation/products/graph/generated/generated.go +++ b/examples/federation/products/graph/generated/generated.go @@ -15,9 +15,9 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/introspection" "github.com/99designs/gqlgen/plugin/federation/fedruntime" - "github.com/jensneuse/graphql-go-tools/examples/federation/products/graph/model" gqlparser "github.com/vektah/gqlparser/v2" "github.com/vektah/gqlparser/v2/ast" + "github.com/wundergraph/graphql-go-tools/examples/federation/products/graph/model" ) // region ************************** generated!.gotpl ************************** diff --git a/examples/federation/products/graph/handler.go b/examples/federation/products/graph/handler.go index a0fff884a..6a0cf9256 100644 --- a/examples/federation/products/graph/handler.go +++ b/examples/federation/products/graph/handler.go @@ -13,7 +13,7 @@ import ( "github.com/gorilla/websocket" "go.uber.org/atomic" - "github.com/jensneuse/graphql-go-tools/examples/federation/products/graph/generated" + "github.com/wundergraph/graphql-go-tools/examples/federation/products/graph/generated" ) var websocketConnections atomic.Uint32 diff --git a/examples/federation/products/graph/products.go b/examples/federation/products/graph/products.go index 51aa82659..38152940e 100644 --- a/examples/federation/products/graph/products.go +++ b/examples/federation/products/graph/products.go @@ -1,6 +1,6 @@ package graph -import "github.com/jensneuse/graphql-go-tools/examples/federation/products/graph/model" +import "github.com/wundergraph/graphql-go-tools/examples/federation/products/graph/model" var hats = []*model.Product{ { diff --git a/examples/federation/products/graph/schema.resolvers.go b/examples/federation/products/graph/schema.resolvers.go index 10ba9c1b5..a2331a71d 100644 --- a/examples/federation/products/graph/schema.resolvers.go +++ b/examples/federation/products/graph/schema.resolvers.go @@ -9,8 +9,8 @@ import ( "math/rand" "time" - "github.com/jensneuse/graphql-go-tools/examples/federation/products/graph/generated" - "github.com/jensneuse/graphql-go-tools/examples/federation/products/graph/model" + "github.com/wundergraph/graphql-go-tools/examples/federation/products/graph/generated" + "github.com/wundergraph/graphql-go-tools/examples/federation/products/graph/model" ) func (r *queryResolver) TopProducts(ctx context.Context, first *int) ([]*model.Product, error) { diff --git a/examples/federation/products/server.go b/examples/federation/products/server.go index aa61d1f9e..1cf189430 100644 --- a/examples/federation/products/server.go +++ b/examples/federation/products/server.go @@ -8,7 +8,7 @@ import ( "github.com/99designs/gqlgen/graphql/playground" - "github.com/jensneuse/graphql-go-tools/examples/federation/products/graph" + "github.com/wundergraph/graphql-go-tools/examples/federation/products/graph" ) const defaultPort = "4002" diff --git a/examples/federation/reviews/gqlgen.yml b/examples/federation/reviews/gqlgen.yml index 190a974f8..c654a1d74 100644 --- a/examples/federation/reviews/gqlgen.yml +++ b/examples/federation/reviews/gqlgen.yml @@ -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/reviews/graph/model" + - "github.com/wundergraph/graphql-go-tools/examples/federation/reviews/graph/model" # This section declares type mapping between the GraphQL and go type systems # diff --git a/examples/federation/reviews/graph/entity.resolvers.go b/examples/federation/reviews/graph/entity.resolvers.go index d7544e714..b9b0a0f8a 100644 --- a/examples/federation/reviews/graph/entity.resolvers.go +++ b/examples/federation/reviews/graph/entity.resolvers.go @@ -6,8 +6,8 @@ package graph import ( "context" - "github.com/jensneuse/graphql-go-tools/examples/federation/reviews/graph/generated" - "github.com/jensneuse/graphql-go-tools/examples/federation/reviews/graph/model" + "github.com/wundergraph/graphql-go-tools/examples/federation/reviews/graph/generated" + "github.com/wundergraph/graphql-go-tools/examples/federation/reviews/graph/model" ) func (r *entityResolver) FindProductByUpc(ctx context.Context, upc string) (*model.Product, error) { diff --git a/examples/federation/reviews/graph/generated/generated.go b/examples/federation/reviews/graph/generated/generated.go index 3017e4e29..f54c5a04c 100644 --- a/examples/federation/reviews/graph/generated/generated.go +++ b/examples/federation/reviews/graph/generated/generated.go @@ -14,9 +14,9 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/introspection" "github.com/99designs/gqlgen/plugin/federation/fedruntime" - "github.com/jensneuse/graphql-go-tools/examples/federation/reviews/graph/model" gqlparser "github.com/vektah/gqlparser/v2" "github.com/vektah/gqlparser/v2/ast" + "github.com/wundergraph/graphql-go-tools/examples/federation/reviews/graph/model" ) // region ************************** generated!.gotpl ************************** diff --git a/examples/federation/reviews/graph/handler.go b/examples/federation/reviews/graph/handler.go index d8ea17820..a9ee12b7a 100644 --- a/examples/federation/reviews/graph/handler.go +++ b/examples/federation/reviews/graph/handler.go @@ -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/reviews/graph/generated" + "github.com/wundergraph/graphql-go-tools/examples/federation/reviews/graph/generated" ) type EndpointOptions struct { diff --git a/examples/federation/reviews/graph/reviews.go b/examples/federation/reviews/graph/reviews.go index 1a00d359b..3691419b9 100644 --- a/examples/federation/reviews/graph/reviews.go +++ b/examples/federation/reviews/graph/reviews.go @@ -1,6 +1,6 @@ package graph -import "github.com/jensneuse/graphql-go-tools/examples/federation/reviews/graph/model" +import "github.com/wundergraph/graphql-go-tools/examples/federation/reviews/graph/model" var reviews = []*model.Review{ { diff --git a/examples/federation/reviews/graph/schema.resolvers.go b/examples/federation/reviews/graph/schema.resolvers.go index a9d1b7ffe..7e79a7926 100644 --- a/examples/federation/reviews/graph/schema.resolvers.go +++ b/examples/federation/reviews/graph/schema.resolvers.go @@ -7,8 +7,8 @@ import ( "context" "fmt" - "github.com/jensneuse/graphql-go-tools/examples/federation/reviews/graph/generated" - "github.com/jensneuse/graphql-go-tools/examples/federation/reviews/graph/model" + "github.com/wundergraph/graphql-go-tools/examples/federation/reviews/graph/generated" + "github.com/wundergraph/graphql-go-tools/examples/federation/reviews/graph/model" ) func (r *productResolver) Reviews(ctx context.Context, obj *model.Product) ([]*model.Review, error) { diff --git a/examples/federation/reviews/server.go b/examples/federation/reviews/server.go index 8af0c2342..7f4436b56 100644 --- a/examples/federation/reviews/server.go +++ b/examples/federation/reviews/server.go @@ -8,7 +8,7 @@ import ( "github.com/99designs/gqlgen/graphql/playground" - "github.com/jensneuse/graphql-go-tools/examples/federation/reviews/graph" + "github.com/wundergraph/graphql-go-tools/examples/federation/reviews/graph" ) const defaultPort = "4003" diff --git a/go.mod b/go.mod index 667196428..938b2bbd1 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/jensneuse/graphql-go-tools +module github.com/wundergraph/graphql-go-tools go 1.18 @@ -20,11 +20,9 @@ require ( github.com/jensneuse/abstractlogger v0.0.4 github.com/jensneuse/byte-template v0.0.0-20200214152254-4f3cf06e5c68 github.com/jensneuse/diffview v1.0.0 - github.com/jensneuse/graphql-go-tools/examples/chat v0.0.0-20210714083836-7bf4457dc2b2 - github.com/jensneuse/graphql-go-tools/examples/federation v0.0.0-20210714083836-7bf4457dc2b2 github.com/jensneuse/pipeline v0.0.0-20200117120358-9fb4de085cd6 github.com/mitchellh/go-homedir v1.1.0 - github.com/nats-io/nats.go v1.11.1-0.20210623165838-4b75fc59ae30 + github.com/nats-io/nats.go v1.14.0 github.com/qri-io/jsonschema v0.2.1 github.com/sebdah/goldie v0.0.0-20180424091453-8784dd1ab561 github.com/spf13/cobra v0.0.5 @@ -33,6 +31,8 @@ require ( github.com/tidwall/gjson v1.11.0 github.com/tidwall/sjson v1.0.4 github.com/vektah/gqlparser/v2 v2.2.0 + github.com/wundergraph/graphql-go-tools/examples/chat v0.0.0-00010101000000-000000000000 + github.com/wundergraph/graphql-go-tools/examples/federation v0.0.0-00010101000000-000000000000 go.uber.org/atomic v1.9.0 go.uber.org/zap v1.18.1 golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 @@ -48,12 +48,13 @@ require ( github.com/fsnotify/fsnotify v1.4.9 // indirect github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee // indirect github.com/gobwas/pool v0.2.0 // indirect + github.com/golang/protobuf v1.5.0 // indirect github.com/google/uuid v1.1.1 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/huandu/xstrings v1.2.1 // indirect github.com/imdario/mergo v0.3.8 // indirect github.com/inconshreveable/mousetrap v1.0.0 // indirect - github.com/klauspost/compress v1.13.1 // indirect + github.com/klauspost/compress v1.14.4 // indirect github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381 // indirect github.com/magiconair/properties v1.8.0 // indirect @@ -62,6 +63,7 @@ require ( github.com/mitchellh/copystructure v1.0.0 // indirect github.com/mitchellh/mapstructure v1.4.1 // indirect github.com/mitchellh/reflectwalk v1.0.0 // indirect + github.com/nats-io/nats-server/v2 v2.8.2 // indirect github.com/nats-io/nkeys v0.3.0 // indirect github.com/nats-io/nuid v1.0.1 // indirect github.com/pelletier/go-toml v1.6.0 // indirect @@ -76,13 +78,14 @@ require ( github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.0 // indirect go.uber.org/multierr v1.6.0 // indirect - golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e // indirect - golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect - golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect - golang.org/x/text v0.3.3 // indirect + golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd // indirect + golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect + golang.org/x/sys v0.0.0-20220111092808-5a964db01320 // indirect + golang.org/x/text v0.3.6 // indirect + google.golang.org/protobuf v1.28.0 // indirect gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect ) -replace github.com/jensneuse/graphql-go-tools/examples/federation => ./examples/federation +replace github.com/wundergraph/graphql-go-tools/examples/federation => ./examples/federation -replace github.com/jensneuse/graphql-go-tools/examples/chat => ./examples/chat +replace github.com/wundergraph/graphql-go-tools/examples/chat => ./examples/chat diff --git a/go.sum b/go.sum index 4ea709cbe..bac30299a 100644 --- a/go.sum +++ b/go.sum @@ -9,7 +9,6 @@ github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3Q github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM= github.com/agnivade/levenshtein v1.0.3/go.mod h1:4SFRZbbXWLF4MU1T9Qg0pGgH3Pjs+t6ie5efyrwRJXs= github.com/agnivade/levenshtein v1.1.0/go.mod h1:veldBMzWxcCG2ZvUTKD2kJNRdCk5hVbJomOvKkmgYbo= @@ -22,10 +21,8 @@ github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdK github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= -github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs= github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= @@ -62,11 +59,6 @@ github.com/go-playground/validator/v10 v10.2.0 h1:KgJ0snyC2R9VXYN2rneOtQcw5aHQB1 github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= github.com/go-test/deep v1.0.4 h1:u2CU3YKy9I2pmu9pX0eq50wCgjfGIt539SqR7FbHiho= github.com/go-test/deep v1.0.4/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= -github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= -github.com/gobuffalo/logger v1.0.0/go.mod h1:2zbswyIUa45I+c+FLXuWl9zSWEiVuthsk8ze5s8JvPs= -github.com/gobuffalo/packd v0.3.0/go.mod h1:zC7QkmNkYVGKPw4tHpBQ+ml7W/3tIebgeo1b36chA3Q= -github.com/gobuffalo/packr v1.30.1/go.mod h1:ljMyFO2EcrnzsHsN99cvbq055Y9OhRrIaviy289eRuk= -github.com/gobuffalo/packr/v2 v2.5.1/go.mod h1:8f9c96ITobJlPzI44jj+4tHnEKNt0xXWSVlXRN9X1Iw= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee h1:s+21KNqlpePfkah2I+gwHF8xmJWRjooY+5248k6m4A0= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0 h1:QEmUOlnSjWtnpRGHF3SauEiOsy82Cup83Vf2LcMlnc8= @@ -78,20 +70,12 @@ github.com/gogo/protobuf v1.0.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7a github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/mock v1.4.1 h1:ocYkMQY5RrXTYgXl7ICpV0IXwlEQGwKIsery4gyXa1U= github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/golang/protobuf v1.5.0 h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -122,21 +106,16 @@ github.com/jensneuse/byte-template v0.0.0-20200214152254-4f3cf06e5c68 h1:E80wOd3 github.com/jensneuse/byte-template v0.0.0-20200214152254-4f3cf06e5c68/go.mod h1:0D5r/VSW6D/o65rKLL9xk7sZxL2+oku2HvFPYeIMFr4= github.com/jensneuse/diffview v1.0.0 h1:4b6FQJ7y3295JUHU3tRko6euyEboL825ZsXeZZM47Z4= github.com/jensneuse/diffview v1.0.0/go.mod h1:i6IacuD8LnEaPuiyzMHA+Wfz5mAuycMOf3R/orUY9y4= -github.com/jensneuse/graphql-go-tools v1.20.2/go.mod h1:9e2CqUwCY2lvC7PWnvvOjH2Xy12A8nm5sLk6fPrsd48= github.com/jensneuse/pipeline v0.0.0-20200117120358-9fb4de085cd6 h1:y8hvuqbuVGFNpEos+vB5I5X+QxWm0uyTk+5oeOinMjY= github.com/jensneuse/pipeline v0.0.0-20200117120358-9fb4de085cd6/go.mod h1:UsfzaMt+keVOxa007GcCJMFeTHr6voRfBGMQEW7DkdM= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/karrick/godirwalk v1.10.12/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.10.4/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.11.12/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.13.1 h1:wXr2uRxZTJXHLly6qhJabee5JqIhTRoLBhDOA74hDEQ= -github.com/klauspost/compress v1.13.1/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= +github.com/klauspost/compress v1.14.4 h1:eijASRJcobkVtSt81Olfh7JX43osYLwy5krOJo6YEu4= +github.com/klauspost/compress v1.14.4/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -158,15 +137,13 @@ github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVc github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/minio/highwayhash v1.0.1 h1:dZ6IIu8Z14VlC0VpfKofAhCy74wu/Qb5gcn52yWoz/0= -github.com/minio/highwayhash v1.0.1/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= +github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= github.com/mitchellh/copystructure v1.0.0 h1:Laisrj+bAB6b/yJwB5Bt3ITZhGJdqmxquMKeZ+mmkFQ= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v0.0.0-20180203102830-a4e142e9c047/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.2.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.1 h1:CpVNEelQCZBooIPDn+AR3NpivK/TIKU8bDxdASFVQag= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/reflectwalk v1.0.0 h1:9D+8oIskB4VJBN5SFlmc27fSlIBZaov1Wpk/IfikLNY= @@ -175,21 +152,11 @@ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OH github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= -github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= -github.com/nats-io/jwt v1.2.2 h1:w3GMTO969dFg+UOKTmmyuu7IGdusK+7Ytlt//OYH/uU= -github.com/nats-io/jwt v1.2.2/go.mod h1:/xX356yQA6LuXI9xWW7mZNpxgF2mBmGecH+Fj34sP5Q= -github.com/nats-io/jwt/v2 v2.0.2 h1:ejVCLO8gu6/4bOKIHQpmB5UhhUJfAQw55yvLWpfmKjI= -github.com/nats-io/jwt/v2 v2.0.2/go.mod h1:VRP+deawSXyhNjXmxPCHskrR6Mq50BqpEI5SEcNiGlY= -github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= -github.com/nats-io/nats-server/v2 v2.3.2 h1:SGJLWrjBHsl0DsdY8PeTR3YKEfiUEYVVq2STw9d8MSY= -github.com/nats-io/nats-server/v2 v2.3.2/go.mod h1:dUf7Cm5z5LbciFVwWx54owyCKm8x4/hL6p7rrljhLFY= -github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= -github.com/nats-io/nats.go v1.11.1-0.20210623165838-4b75fc59ae30 h1:9GqilBhZaR3xYis0JgMlJjNw933WIobdjKhilXm+Vls= -github.com/nats-io/nats.go v1.11.1-0.20210623165838-4b75fc59ae30/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w= -github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= -github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= -github.com/nats-io/nkeys v0.2.0/go.mod h1:XdZpAbhgyyODYqjTawOnIOI7VlbKSarI9Gfy1tqEu/s= +github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a h1:lem6QCvxR0Y28gth9P+wV2K/zYUUAkJ+55U8cpS0p5I= +github.com/nats-io/nats-server/v2 v2.8.2 h1:5m1VytMEbZx0YINvKY+X2gXdLNwP43uLXnFRwz8j8KE= +github.com/nats-io/nats-server/v2 v2.8.2/go.mod h1:vIdpKz3OG+DCg4q/xVPdXHoztEyKDWRtykQ4N7hd7C4= +github.com/nats-io/nats.go v1.14.0 h1:/QLCss4vQ6wvDpbqXucsVRDi13tFIR6kTdau+nXzKJw= +github.com/nats-io/nats.go v1.14.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w= github.com/nats-io/nkeys v0.3.0 h1:cgM5tL53EvYRU+2YLXIK0G2mJtK12Ft9oeooSZMA2G8= github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4= github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= @@ -209,7 +176,6 @@ github.com/qri-io/jsonpointer v0.1.1 h1:prVZBZLL6TW5vsSB9fFHFAMBLI4b0ri5vribQlTJ github.com/qri-io/jsonpointer v0.1.1/go.mod h1:DnJPaYgiKu56EuDp8TU5wFLdZIcAnb/uH9v37ZaMV64= github.com/qri-io/jsonschema v0.2.1 h1:NNFoKms+kut6ABPf6xiKNM5214jzxAhDBrPHCJ97Wg0= github.com/qri-io/jsonschema v0.2.1/go.mod h1:g7DPkiOsK1xv6T/Ao5scXRkd+yTFygcANPBaaqW+VrI= -github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= @@ -225,7 +191,6 @@ github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeV github.com/shurcooL/vfsgen v0.0.0-20180121065927-ffb13db8def0/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY= github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= @@ -245,16 +210,12 @@ github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/tidwall/gjson v1.3.5/go.mod h1:P256ACg0Mn+j1RXIDXoss50DeIABTYK1PULOJHhxOls= github.com/tidwall/gjson v1.11.0 h1:C16pk7tQNiH6VlCrtIXL1w8GaOsi1X3W8KDkE1BuYd4= github.com/tidwall/gjson v1.11.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= -github.com/tidwall/match v1.0.1/go.mod h1:LujAq0jyVjBy028G1WhWfIzbpQfMO8bBZ6Tyb0+pL9E= github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= -github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/sjson v1.0.4 h1:UcdIRXff12Lpnu3OLtZvnc03g4vH2suXDXhBwBqmzYg= @@ -265,9 +226,6 @@ github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljT github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= github.com/urfave/cli/v2 v2.1.1/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.12.0/go.mod h1:229t1eWu9UXTPmoUkbpN/fctKPBY4IJoFXQnxHGXy6E= -github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= 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= github.com/vektah/gqlparser/v2 v2.2.0 h1:bAc3slekAAJW6sZTi07aGq0OrfaCjj4jxARAaC7g2EM= @@ -276,14 +234,12 @@ github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1: github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= -go.uber.org/atomic v1.5.1/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/goleak v1.1.10 h1:z+mqJhf6ss6BSfSM671tgKyZBFPTTJM+HLxnhPC3wu0= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= @@ -293,19 +249,15 @@ go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e h1:gsTQYXdTw2Gq7RBsWvlQ91b+aEQ6bXFUngBGuR8sPpI= -golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd h1:XcWmESyNjXJMLahc3mqVQJcgSTDxFxhETVlfk9uGc38= +golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f h1:J5lckAjkw6qYlOZNj90mLYNTEKDvWeuc1yieZ8qUzUE= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= @@ -314,52 +266,44 @@ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 h1:qWPm9rbaAMKs8Bq/9LRpbMqxWRVUAQwMI9fVrssnTfw= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 h1:CIJ76btIcR3eFI5EgSo6k1qKw9KJexJuRLI9G7Hp5wE= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190130150945-aca44879d564/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190515120540-06a5c4944438/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201101102859-da207088b7d1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220111092808-5a964db01320 h1:0jf+tOCoZ3LyutmCOWpVni1chK4VfFLhRsDK7MhqGRY= +golang.org/x/sys v0.0.0-20220111092808-5a964db01320/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1 h1:NusfzzA6yGQ+ua51ck7E3omNUX/JuqbFSaRGqU8CcLI= -golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 h1:GZokNIeuVkl3aZHJchRrr13WCsols02MLUcz1U9is6M= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190515012406-7d7faa4812bd/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190624180213-70d37148ca0c/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200114235610-7ae403b6b589/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200414032229-332987a829c3/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a h1:CB3a9Nez8M13wwlr/E2YtwoU+qYHKfC+JrDa45RXXoQ= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= @@ -368,13 +312,9 @@ golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= diff --git a/internal/pkg/unsafeparser/unsafeparser.go b/internal/pkg/unsafeparser/unsafeparser.go index df2af15d5..c84a2e8bf 100644 --- a/internal/pkg/unsafeparser/unsafeparser.go +++ b/internal/pkg/unsafeparser/unsafeparser.go @@ -4,8 +4,8 @@ package unsafeparser import ( "io/ioutil" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" ) func ParseGraphqlDocumentString(input string) ast.Document { diff --git a/internal/pkg/unsafeprinter/unsafeprinter.go b/internal/pkg/unsafeprinter/unsafeprinter.go index 9ba6543da..6fde34802 100644 --- a/internal/pkg/unsafeprinter/unsafeprinter.go +++ b/internal/pkg/unsafeprinter/unsafeprinter.go @@ -1,9 +1,9 @@ package unsafeprinter import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" ) func Print(document, definition *ast.Document) string { diff --git a/main.go b/main.go index 725293d93..754700123 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "github.com/jensneuse/graphql-go-tools/cmd" +import "github.com/wundergraph/graphql-go-tools/cmd" func main() { cmd.Execute() diff --git a/pkg/ast/ast_argument.go b/pkg/ast/ast_argument.go index 04c11f956..d5f7ea8e0 100644 --- a/pkg/ast/ast_argument.go +++ b/pkg/ast/ast_argument.go @@ -4,9 +4,9 @@ import ( "bytes" "io" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type ArgumentList struct { diff --git a/pkg/ast/ast_description.go b/pkg/ast/ast_description.go index ffc48ed2c..f70bb428d 100644 --- a/pkg/ast/ast_description.go +++ b/pkg/ast/ast_description.go @@ -4,9 +4,9 @@ import ( "io" "strings" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/runes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/runes" ) type Description struct { diff --git a/pkg/ast/ast_directive.go b/pkg/ast/ast_directive.go index aa0398017..ff28aa65e 100644 --- a/pkg/ast/ast_directive.go +++ b/pkg/ast/ast_directive.go @@ -4,8 +4,8 @@ import ( "bytes" "io" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type DirectiveList struct { diff --git a/pkg/ast/ast_directive_definition.go b/pkg/ast/ast_directive_definition.go index 562489b2e..da0fc8551 100644 --- a/pkg/ast/ast_directive_definition.go +++ b/pkg/ast/ast_directive_definition.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // DirectiveDefinition diff --git a/pkg/ast/ast_enum_type_definition.go b/pkg/ast/ast_enum_type_definition.go index a9c680f4a..471b33d1b 100644 --- a/pkg/ast/ast_enum_type_definition.go +++ b/pkg/ast/ast_enum_type_definition.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // EnumTypeDefinition diff --git a/pkg/ast/ast_enum_type_extension.go b/pkg/ast/ast_enum_type_extension.go index 9fdaf9ae7..9b3d6e6c3 100644 --- a/pkg/ast/ast_enum_type_extension.go +++ b/pkg/ast/ast_enum_type_extension.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type EnumTypeExtension struct { diff --git a/pkg/ast/ast_enum_value_definition.go b/pkg/ast/ast_enum_value_definition.go index 53ad2ea3d..d97a2b012 100644 --- a/pkg/ast/ast_enum_value_definition.go +++ b/pkg/ast/ast_enum_value_definition.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type EnumValueDefinitionList struct { diff --git a/pkg/ast/ast_field.go b/pkg/ast/ast_field.go index f4b3979c4..c9d2b6187 100644 --- a/pkg/ast/ast_field.go +++ b/pkg/ast/ast_field.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type Field struct { diff --git a/pkg/ast/ast_field_alias.go b/pkg/ast/ast_field_alias.go index efd45cb35..924a89def 100644 --- a/pkg/ast/ast_field_alias.go +++ b/pkg/ast/ast_field_alias.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type Alias struct { diff --git a/pkg/ast/ast_field_definition.go b/pkg/ast/ast_field_definition.go index 2b0e06cec..0361aed37 100644 --- a/pkg/ast/ast_field_definition.go +++ b/pkg/ast/ast_field_definition.go @@ -3,9 +3,9 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type FieldDefinitionList struct { diff --git a/pkg/ast/ast_fragment_definition.go b/pkg/ast/ast_fragment_definition.go index d841bb79d..de34bc4fe 100644 --- a/pkg/ast/ast_fragment_definition.go +++ b/pkg/ast/ast_fragment_definition.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // TypeCondition diff --git a/pkg/ast/ast_fragment_spread.go b/pkg/ast/ast_fragment_spread.go index 16e8b0a24..7b091c7d0 100644 --- a/pkg/ast/ast_fragment_spread.go +++ b/pkg/ast/ast_fragment_spread.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // FragmentSpread diff --git a/pkg/ast/ast_inline_fragment.go b/pkg/ast/ast_inline_fragment.go index f5d21451f..2697556d1 100644 --- a/pkg/ast/ast_inline_fragment.go +++ b/pkg/ast/ast_inline_fragment.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // InlineFragment diff --git a/pkg/ast/ast_input_object_type_definition.go b/pkg/ast/ast_input_object_type_definition.go index 11464bf7d..f055fbe74 100644 --- a/pkg/ast/ast_input_object_type_definition.go +++ b/pkg/ast/ast_input_object_type_definition.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type InputObjectTypeDefinition struct { diff --git a/pkg/ast/ast_input_object_type_extension.go b/pkg/ast/ast_input_object_type_extension.go index 2c8af21bc..8f6a7c226 100644 --- a/pkg/ast/ast_input_object_type_extension.go +++ b/pkg/ast/ast_input_object_type_extension.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type InputObjectTypeExtension struct { diff --git a/pkg/ast/ast_input_value_definition.go b/pkg/ast/ast_input_value_definition.go index 6b8d8f676..e32ab6bcb 100644 --- a/pkg/ast/ast_input_value_definition.go +++ b/pkg/ast/ast_input_value_definition.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type InputValueDefinitionList struct { diff --git a/pkg/ast/ast_interface_type_definition.go b/pkg/ast/ast_interface_type_definition.go index 1709b9ce2..4c2bcc709 100644 --- a/pkg/ast/ast_interface_type_definition.go +++ b/pkg/ast/ast_interface_type_definition.go @@ -4,8 +4,8 @@ import ( "bytes" "sort" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // InterfaceTypeDefinition diff --git a/pkg/ast/ast_interface_type_extension.go b/pkg/ast/ast_interface_type_extension.go index d0caac8c9..b8350b0f3 100644 --- a/pkg/ast/ast_interface_type_extension.go +++ b/pkg/ast/ast_interface_type_extension.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type InterfaceTypeExtension struct { diff --git a/pkg/ast/ast_node.go b/pkg/ast/ast_node.go index b2529bc1a..164ef636b 100644 --- a/pkg/ast/ast_node.go +++ b/pkg/ast/ast_node.go @@ -5,7 +5,7 @@ import ( "fmt" "log" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" ) type Node struct { diff --git a/pkg/ast/ast_node_kind.go b/pkg/ast/ast_node_kind.go index 700dc3616..942ca76db 100644 --- a/pkg/ast/ast_node_kind.go +++ b/pkg/ast/ast_node_kind.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type NodeKind int diff --git a/pkg/ast/ast_object_field.go b/pkg/ast/ast_object_field.go index d55356fd2..a628d6701 100644 --- a/pkg/ast/ast_object_field.go +++ b/pkg/ast/ast_object_field.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // ObjectField diff --git a/pkg/ast/ast_object_type_definition.go b/pkg/ast/ast_object_type_definition.go index 6518bba91..6bada06f6 100644 --- a/pkg/ast/ast_object_type_definition.go +++ b/pkg/ast/ast_object_type_definition.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type TypeList struct { diff --git a/pkg/ast/ast_object_type_definition_test.go b/pkg/ast/ast_object_type_definition_test.go index 2cd1a9fad..6373dda5a 100644 --- a/pkg/ast/ast_object_type_definition_test.go +++ b/pkg/ast/ast_object_type_definition_test.go @@ -3,10 +3,10 @@ package ast_test import ( "testing" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" "github.com/stretchr/testify/assert" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" ) func TestDocument_RemoveObjectTypeDefinition(t *testing.T) { diff --git a/pkg/ast/ast_object_type_extension.go b/pkg/ast/ast_object_type_extension.go index 6411e0f00..97beb07b2 100644 --- a/pkg/ast/ast_object_type_extension.go +++ b/pkg/ast/ast_object_type_extension.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type ObjectTypeExtension struct { diff --git a/pkg/ast/ast_operation_definition.go b/pkg/ast/ast_operation_definition.go index 794b6c968..fb3a1651b 100644 --- a/pkg/ast/ast_operation_definition.go +++ b/pkg/ast/ast_operation_definition.go @@ -3,8 +3,8 @@ package ast import ( "math" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type OperationType int diff --git a/pkg/ast/ast_operation_definition_test.go b/pkg/ast/ast_operation_definition_test.go index 87c98aa2d..ee7855fd7 100644 --- a/pkg/ast/ast_operation_definition_test.go +++ b/pkg/ast/ast_operation_definition_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" ) func TestDocument_OperationNameExists(t *testing.T) { diff --git a/pkg/ast/ast_root_operation_type_definition.go b/pkg/ast/ast_root_operation_type_definition.go index dcd41fcbc..f352cce57 100644 --- a/pkg/ast/ast_root_operation_type_definition.go +++ b/pkg/ast/ast_root_operation_type_definition.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type RootOperationTypeDefinitionList struct { diff --git a/pkg/ast/ast_root_operation_type_definition_test.go b/pkg/ast/ast_root_operation_type_definition_test.go index 11804d777..5c9dc2324 100644 --- a/pkg/ast/ast_root_operation_type_definition_test.go +++ b/pkg/ast/ast_root_operation_type_definition_test.go @@ -3,10 +3,10 @@ package ast_test import ( "testing" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" "github.com/stretchr/testify/assert" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" ) func TestDocument_ReplaceRootOperationTypeDefinition(t *testing.T) { diff --git a/pkg/ast/ast_scalar_type_definition.go b/pkg/ast/ast_scalar_type_definition.go index 5e83e2010..b701bfd1e 100644 --- a/pkg/ast/ast_scalar_type_definition.go +++ b/pkg/ast/ast_scalar_type_definition.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // ScalarTypeDefinition diff --git a/pkg/ast/ast_scalar_type_extension.go b/pkg/ast/ast_scalar_type_extension.go index 6c034a548..c917ef9d6 100644 --- a/pkg/ast/ast_scalar_type_extension.go +++ b/pkg/ast/ast_scalar_type_extension.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type ScalarTypeExtension struct { diff --git a/pkg/ast/ast_schema_definition.go b/pkg/ast/ast_schema_definition.go index 9b4f7bc97..ffa842f02 100644 --- a/pkg/ast/ast_schema_definition.go +++ b/pkg/ast/ast_schema_definition.go @@ -1,6 +1,6 @@ package ast -import "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" +import "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" type SchemaDefinition struct { SchemaLiteral position.Position // schema diff --git a/pkg/ast/ast_schema_extension.go b/pkg/ast/ast_schema_extension.go index 69b3c3d50..b74122bdd 100644 --- a/pkg/ast/ast_schema_extension.go +++ b/pkg/ast/ast_schema_extension.go @@ -1,6 +1,6 @@ package ast -import "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" +import "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" type SchemaExtension struct { ExtendLiteral position.Position diff --git a/pkg/ast/ast_selection.go b/pkg/ast/ast_selection.go index d14b0d332..65f4ece2d 100644 --- a/pkg/ast/ast_selection.go +++ b/pkg/ast/ast_selection.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type SelectionKind int diff --git a/pkg/ast/ast_test.go b/pkg/ast/ast_test.go index 45da36d43..272717090 100644 --- a/pkg/ast/ast_test.go +++ b/pkg/ast/ast_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" ) // Create a new document with initialized slices. diff --git a/pkg/ast/ast_type.go b/pkg/ast/ast_type.go index a5e917bd1..40438d407 100644 --- a/pkg/ast/ast_type.go +++ b/pkg/ast/ast_type.go @@ -4,9 +4,9 @@ import ( "bytes" "io" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type TypeKind int diff --git a/pkg/ast/ast_union_type_definition.go b/pkg/ast/ast_union_type_definition.go index 116c2902d..697f63870 100644 --- a/pkg/ast/ast_union_type_definition.go +++ b/pkg/ast/ast_union_type_definition.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // UnionTypeDefinition @@ -18,7 +18,7 @@ type UnionTypeDefinition struct { Directives DirectiveList // optional, e.g. @foo Equals position.Position // = HasUnionMemberTypes bool - UnionMemberTypes TypeList // optional, e.g. Photo | Person + UnionMemberTypes TypeList // optional, e.g. Photo | Person HasFieldDefinitions bool FieldsDefinition FieldDefinitionList // contains a single field: { __typename: String! } } @@ -44,7 +44,7 @@ func (d *Document) UnionTypeDefinitionDescriptionString(ref int) string { func (d *Document) UnionTypeDefinitionHasField(ref int, fieldName []byte) bool { for _, fieldRef := range d.UnionTypeDefinitions[ref].FieldsDefinition.Refs { - if bytes.Equal(d.FieldDefinitionNameBytes(fieldRef),fieldName){ + if bytes.Equal(d.FieldDefinitionNameBytes(fieldRef), fieldName) { return true } } diff --git a/pkg/ast/ast_union_type_extension.go b/pkg/ast/ast_union_type_extension.go index 5ea24a9c6..cb8c93bc7 100644 --- a/pkg/ast/ast_union_type_extension.go +++ b/pkg/ast/ast_union_type_extension.go @@ -1,8 +1,8 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type UnionTypeExtension struct { diff --git a/pkg/ast/ast_val_enum_value.go b/pkg/ast/ast_val_enum_value.go index e639eccf6..328f1ecd1 100644 --- a/pkg/ast/ast_val_enum_value.go +++ b/pkg/ast/ast_val_enum_value.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" ) // EnumValue diff --git a/pkg/ast/ast_val_float_value.go b/pkg/ast/ast_val_float_value.go index 5fb1d974e..8a0814095 100644 --- a/pkg/ast/ast_val_float_value.go +++ b/pkg/ast/ast_val_float_value.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // FloatValue diff --git a/pkg/ast/ast_val_int_value.go b/pkg/ast/ast_val_int_value.go index caef7a6f7..f20ca0fec 100644 --- a/pkg/ast/ast_val_int_value.go +++ b/pkg/ast/ast_val_int_value.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // IntValue diff --git a/pkg/ast/ast_val_list_value.go b/pkg/ast/ast_val_list_value.go index 94218edd5..06d4a5a48 100644 --- a/pkg/ast/ast_val_list_value.go +++ b/pkg/ast/ast_val_list_value.go @@ -1,6 +1,6 @@ package ast -import "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" +import "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" type ListValue struct { LBRACK position.Position // [ diff --git a/pkg/ast/ast_val_object_value.go b/pkg/ast/ast_val_object_value.go index 4bfbd3883..ed5c4f287 100644 --- a/pkg/ast/ast_val_object_value.go +++ b/pkg/ast/ast_val_object_value.go @@ -1,6 +1,6 @@ package ast -import "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" +import "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" // ObjectValue // example: diff --git a/pkg/ast/ast_val_string_value.go b/pkg/ast/ast_val_string_value.go index cfd5dcbb3..96510c042 100644 --- a/pkg/ast/ast_val_string_value.go +++ b/pkg/ast/ast_val_string_value.go @@ -3,7 +3,7 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" ) // StringValue diff --git a/pkg/ast/ast_val_variable_value.go b/pkg/ast/ast_val_variable_value.go index 545eac1f7..61d8e3b07 100644 --- a/pkg/ast/ast_val_variable_value.go +++ b/pkg/ast/ast_val_variable_value.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // VariableValue diff --git a/pkg/ast/ast_value.go b/pkg/ast/ast_value.go index e2a136561..73bdfe3da 100644 --- a/pkg/ast/ast_value.go +++ b/pkg/ast/ast_value.go @@ -7,9 +7,9 @@ import ( "github.com/tidwall/sjson" - "github.com/jensneuse/graphql-go-tools/internal/pkg/quotes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/internal/pkg/quotes" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type ValueKind int diff --git a/pkg/ast/ast_variable_definition.go b/pkg/ast/ast_variable_definition.go index 5b79f2a5c..0fb219c6c 100644 --- a/pkg/ast/ast_variable_definition.go +++ b/pkg/ast/ast_variable_definition.go @@ -3,8 +3,8 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type VariableDefinitionList struct { diff --git a/pkg/ast/directive_location.go b/pkg/ast/directive_location.go index 503c1122d..e9252d61c 100644 --- a/pkg/ast/directive_location.go +++ b/pkg/ast/directive_location.go @@ -5,8 +5,8 @@ package ast import ( "fmt" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type DirectiveLocation int diff --git a/pkg/ast/index.go b/pkg/ast/index.go index fcd2a0620..2e8fef207 100644 --- a/pkg/ast/index.go +++ b/pkg/ast/index.go @@ -5,7 +5,7 @@ import ( "github.com/cespare/xxhash/v2" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" ) // Index is a struct to easily look up objects in a document, e.g. find Nodes (type/interface/union definitions) by name diff --git a/pkg/ast/input.go b/pkg/ast/input.go index ca705f7fe..ff18782fd 100644 --- a/pkg/ast/input.go +++ b/pkg/ast/input.go @@ -3,9 +3,9 @@ package ast import ( "bytes" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) // Input is a raw graphql document containing the raw input + meta data diff --git a/pkg/ast/path.go b/pkg/ast/path.go index bf4d9ffcb..83a2e6e93 100644 --- a/pkg/ast/path.go +++ b/pkg/ast/path.go @@ -6,7 +6,7 @@ import ( "strconv" "unsafe" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" ) type PathKind int diff --git a/pkg/astimport/astimport.go b/pkg/astimport/astimport.go index 6d3bc1766..f1c5030c0 100644 --- a/pkg/astimport/astimport.go +++ b/pkg/astimport/astimport.go @@ -6,7 +6,7 @@ package astimport import ( "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/ast" ) // Importer imports Nodes into an existing AST. diff --git a/pkg/astimport/astimport_test.go b/pkg/astimport/astimport_test.go index b9b4322d0..0f0bd2c32 100644 --- a/pkg/astimport/astimport_test.go +++ b/pkg/astimport/astimport_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "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/operationreport" ) func TestImporter_ImportType(t *testing.T) { diff --git a/pkg/astnormalization/astnormalization.go b/pkg/astnormalization/astnormalization.go index d476e078a..e57163914 100644 --- a/pkg/astnormalization/astnormalization.go +++ b/pkg/astnormalization/astnormalization.go @@ -68,9 +68,9 @@ Output: package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // NormalizeOperation creates a default Normalizer and applies all rules to a given AST diff --git a/pkg/astnormalization/astnormalization_test.go b/pkg/astnormalization/astnormalization_test.go index 38a99964d..2b409a733 100644 --- a/pkg/astnormalization/astnormalization_test.go +++ b/pkg/astnormalization/astnormalization_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeprinter" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeprinter" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func TestNormalizeOperation(t *testing.T) { diff --git a/pkg/astnormalization/definition_normalization.go b/pkg/astnormalization/definition_normalization.go index cda39104d..0b15bb60c 100644 --- a/pkg/astnormalization/definition_normalization.go +++ b/pkg/astnormalization/definition_normalization.go @@ -1,9 +1,9 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // NormalizeDefinition creates a default DefinitionNormalizer and applies all rules to a given AST diff --git a/pkg/astnormalization/definition_normalization_test.go b/pkg/astnormalization/definition_normalization_test.go index bb7d5a67d..a9ae5d07d 100644 --- a/pkg/astnormalization/definition_normalization_test.go +++ b/pkg/astnormalization/definition_normalization_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func TestNormalizeDefinition(t *testing.T) { diff --git a/pkg/astnormalization/directive_include_skip.go b/pkg/astnormalization/directive_include_skip.go index 104d9472d..5b969a9df 100644 --- a/pkg/astnormalization/directive_include_skip.go +++ b/pkg/astnormalization/directive_include_skip.go @@ -3,9 +3,9 @@ package astnormalization import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) func directiveIncludeSkip(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/enum_type_extending.go b/pkg/astnormalization/enum_type_extending.go index 563c1f07b..0682fd2b3 100644 --- a/pkg/astnormalization/enum_type_extending.go +++ b/pkg/astnormalization/enum_type_extending.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func extendEnumTypeDefinition(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/extends_directive.go b/pkg/astnormalization/extends_directive.go index 3c95efe38..065b3aa70 100644 --- a/pkg/astnormalization/extends_directive.go +++ b/pkg/astnormalization/extends_directive.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) var extendsDirectiveName = "extends" diff --git a/pkg/astnormalization/field_deduplication.go b/pkg/astnormalization/field_deduplication.go index 65eb48670..0b56298b5 100644 --- a/pkg/astnormalization/field_deduplication.go +++ b/pkg/astnormalization/field_deduplication.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func deduplicateFields(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/field_selection_merging.go b/pkg/astnormalization/field_selection_merging.go index cf8dcbcf7..9e035afe0 100644 --- a/pkg/astnormalization/field_selection_merging.go +++ b/pkg/astnormalization/field_selection_merging.go @@ -3,8 +3,8 @@ package astnormalization import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func mergeFieldSelections(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/fragment_definition_removal.go b/pkg/astnormalization/fragment_definition_removal.go index 5606a52c1..7e62d6c11 100644 --- a/pkg/astnormalization/fragment_definition_removal.go +++ b/pkg/astnormalization/fragment_definition_removal.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) type FragmentDefinitionRemoval struct { diff --git a/pkg/astnormalization/fragment_spread_inlining.go b/pkg/astnormalization/fragment_spread_inlining.go index c3a4db8db..e74a97fda 100644 --- a/pkg/astnormalization/fragment_spread_inlining.go +++ b/pkg/astnormalization/fragment_spread_inlining.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func fragmentSpreadInline(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/fragmentspread_depth.go b/pkg/astnormalization/fragmentspread_depth.go index c180d70fd..08d78f2df 100644 --- a/pkg/astnormalization/fragmentspread_depth.go +++ b/pkg/astnormalization/fragmentspread_depth.go @@ -3,9 +3,9 @@ package astnormalization import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // FragmentSpreadDepth is a helper for nested Fragments to calculate the actual depth of a Fragment Node diff --git a/pkg/astnormalization/fragmentspread_depth_test.go b/pkg/astnormalization/fragmentspread_depth_test.go index 2e5196cf5..f198d9d6d 100644 --- a/pkg/astnormalization/fragmentspread_depth_test.go +++ b/pkg/astnormalization/fragmentspread_depth_test.go @@ -4,9 +4,9 @@ import ( "fmt" "testing" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func TestRealDepthCalculator_CalculateDepthForFragmentSpread(t *testing.T) { diff --git a/pkg/astnormalization/implicit_extend_root_operation.go b/pkg/astnormalization/implicit_extend_root_operation.go index b1a4a9b23..1894b0355 100644 --- a/pkg/astnormalization/implicit_extend_root_operation.go +++ b/pkg/astnormalization/implicit_extend_root_operation.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) /* diff --git a/pkg/astnormalization/implicit_schema_definition.go b/pkg/astnormalization/implicit_schema_definition.go index 52b4e500f..72a185cd2 100644 --- a/pkg/astnormalization/implicit_schema_definition.go +++ b/pkg/astnormalization/implicit_schema_definition.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) const ( diff --git a/pkg/astnormalization/inline_fragment_merging.go b/pkg/astnormalization/inline_fragment_merging.go index 0e7270e69..ca7f0dfeb 100644 --- a/pkg/astnormalization/inline_fragment_merging.go +++ b/pkg/astnormalization/inline_fragment_merging.go @@ -3,8 +3,8 @@ package astnormalization import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func mergeInlineFragments(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/input_coercion_for_list.go b/pkg/astnormalization/input_coercion_for_list.go index 2548ddd39..63c401872 100644 --- a/pkg/astnormalization/input_coercion_for_list.go +++ b/pkg/astnormalization/input_coercion_for_list.go @@ -5,11 +5,11 @@ import ( "strconv" "github.com/buger/jsonparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/pool" "github.com/tidwall/sjson" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/pool" ) func inputCoercionForList(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/input_object_type_extending.go b/pkg/astnormalization/input_object_type_extending.go index 6c80593bb..82ffd6675 100644 --- a/pkg/astnormalization/input_object_type_extending.go +++ b/pkg/astnormalization/input_object_type_extending.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func extendInputObjectTypeDefinition(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/interface_type_extending.go b/pkg/astnormalization/interface_type_extending.go index ce2cc2e05..4902640ac 100644 --- a/pkg/astnormalization/interface_type_extending.go +++ b/pkg/astnormalization/interface_type_extending.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func extendInterfaceTypeDefinition(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/object_type_extending.go b/pkg/astnormalization/object_type_extending.go index 6d0593da0..eec5ccb62 100644 --- a/pkg/astnormalization/object_type_extending.go +++ b/pkg/astnormalization/object_type_extending.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func extendObjectTypeDefinition(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/remove_self_aliasing.go b/pkg/astnormalization/remove_self_aliasing.go index 700821428..cc68d28a7 100644 --- a/pkg/astnormalization/remove_self_aliasing.go +++ b/pkg/astnormalization/remove_self_aliasing.go @@ -3,8 +3,8 @@ package astnormalization import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func removeSelfAliasing(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/remove_type_extensions.go b/pkg/astnormalization/remove_type_extensions.go index b42020266..591bd038d 100644 --- a/pkg/astnormalization/remove_type_extensions.go +++ b/pkg/astnormalization/remove_type_extensions.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func removeMergedTypeExtensions(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/scalar_type_extending.go b/pkg/astnormalization/scalar_type_extending.go index 6daad8dc5..dafa2210d 100644 --- a/pkg/astnormalization/scalar_type_extending.go +++ b/pkg/astnormalization/scalar_type_extending.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func extendScalarTypeDefinition(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/subgraph_sdl_normalization.go b/pkg/astnormalization/subgraph_sdl_normalization.go index 31948aaf1..a49510397 100644 --- a/pkg/astnormalization/subgraph_sdl_normalization.go +++ b/pkg/astnormalization/subgraph_sdl_normalization.go @@ -1,9 +1,9 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func NormalizeSubgraphSDL(definition *ast.Document, report *operationreport.Report) { diff --git a/pkg/astnormalization/union_type_extending.go b/pkg/astnormalization/union_type_extending.go index 1f51ce18c..bcd8740e3 100644 --- a/pkg/astnormalization/union_type_extending.go +++ b/pkg/astnormalization/union_type_extending.go @@ -1,8 +1,8 @@ package astnormalization import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func extendUnionTypeDefinition(walker *astvisitor.Walker) { diff --git a/pkg/astnormalization/variables_default_value_extraction.go b/pkg/astnormalization/variables_default_value_extraction.go index 84ae03cb3..7a5ba8487 100644 --- a/pkg/astnormalization/variables_default_value_extraction.go +++ b/pkg/astnormalization/variables_default_value_extraction.go @@ -6,10 +6,10 @@ import ( "github.com/buger/jsonparser" "github.com/tidwall/sjson" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astimport" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astimport" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func extractVariablesDefaultValue(walker *astvisitor.Walker) *variablesDefaultValueExtractionVisitor { diff --git a/pkg/astnormalization/variables_extraction.go b/pkg/astnormalization/variables_extraction.go index c0896f0d6..2cbd1a05b 100644 --- a/pkg/astnormalization/variables_extraction.go +++ b/pkg/astnormalization/variables_extraction.go @@ -5,10 +5,10 @@ import ( "github.com/tidwall/sjson" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astimport" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astimport" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func extractVariables(walker *astvisitor.Walker) *variablesExtractionVisitor { diff --git a/pkg/astnormalization/variables_unused_deletion.go b/pkg/astnormalization/variables_unused_deletion.go index 9d70f8b2f..872b8f68a 100644 --- a/pkg/astnormalization/variables_unused_deletion.go +++ b/pkg/astnormalization/variables_unused_deletion.go @@ -5,8 +5,8 @@ import ( "github.com/buger/jsonparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func deleteUnusedVariables(walker *astvisitor.Walker) *deleteUnusedVariablesVisitor { diff --git a/pkg/astparser/errors.go b/pkg/astparser/errors.go index fb6232ac3..f4d9b0469 100644 --- a/pkg/astparser/errors.go +++ b/pkg/astparser/errors.go @@ -3,9 +3,9 @@ package astparser import ( "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/identkeyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/keyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/identkeyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/keyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type origin struct { diff --git a/pkg/astparser/parser.go b/pkg/astparser/parser.go index 9bd0e33ea..b0854c6c2 100644 --- a/pkg/astparser/parser.go +++ b/pkg/astparser/parser.go @@ -5,14 +5,14 @@ import ( "fmt" "runtime" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/graphqlerrors" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/identkeyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/keyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/token" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/graphqlerrors" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/identkeyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/keyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/token" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // ParseGraphqlDocumentString takes a raw GraphQL document in string format and parses it into an AST. diff --git a/pkg/astparser/parser_test.go b/pkg/astparser/parser_test.go index f307a02b0..02978dec8 100644 --- a/pkg/astparser/parser_test.go +++ b/pkg/astparser/parser_test.go @@ -5,10 +5,10 @@ import ( "io/ioutil" "testing" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/keyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/keyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" "github.com/stretchr/testify/assert" ) diff --git a/pkg/astparser/parser_token_helpers.go b/pkg/astparser/parser_token_helpers.go index ddac30bd2..c8f0cdd14 100644 --- a/pkg/astparser/parser_token_helpers.go +++ b/pkg/astparser/parser_token_helpers.go @@ -1,10 +1,10 @@ package astparser import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/identkeyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/keyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/token" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/identkeyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/keyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/token" ) // read - reads and returns next token diff --git a/pkg/astparser/tokenizer.go b/pkg/astparser/tokenizer.go index e561f0d7c..8b8a103a9 100644 --- a/pkg/astparser/tokenizer.go +++ b/pkg/astparser/tokenizer.go @@ -1,10 +1,10 @@ package astparser import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/keyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/token" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/keyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/token" ) // Tokenizer takes a raw input and turns it into set of tokens diff --git a/pkg/astprinter/astprinter.go b/pkg/astprinter/astprinter.go index a8e0f28f5..d4d98e457 100644 --- a/pkg/astprinter/astprinter.go +++ b/pkg/astprinter/astprinter.go @@ -5,9 +5,9 @@ import ( "bytes" "io" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) // Print takes a document as well as a definition (optional) and prints it to the io.Writer. diff --git a/pkg/astprinter/astprinter_test.go b/pkg/astprinter/astprinter_test.go index f4e69e4f8..52525ead9 100644 --- a/pkg/astprinter/astprinter_test.go +++ b/pkg/astprinter/astprinter_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func TestPrint(t *testing.T) { diff --git a/pkg/asttransform/asttransform.go b/pkg/asttransform/asttransform.go index e1babddfb..341b27849 100644 --- a/pkg/asttransform/asttransform.go +++ b/pkg/asttransform/asttransform.go @@ -13,7 +13,7 @@ package asttransform import ( "sort" - "github.com/jensneuse/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/ast" ) type ( diff --git a/pkg/asttransform/baseschema.go b/pkg/asttransform/baseschema.go index e5838eb31..7fd6c4646 100644 --- a/pkg/asttransform/baseschema.go +++ b/pkg/asttransform/baseschema.go @@ -3,9 +3,9 @@ package asttransform import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "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/operationreport" ) func MergeDefinitionWithBaseSchema(definition *ast.Document) error { diff --git a/pkg/asttransform/baseschema_test.go b/pkg/asttransform/baseschema_test.go index 6a0b477ca..56071d1d0 100644 --- a/pkg/asttransform/baseschema_test.go +++ b/pkg/asttransform/baseschema_test.go @@ -8,8 +8,8 @@ import ( "github.com/jensneuse/diffview" "github.com/sebdah/goldie" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" ) func runTestMerge(definition, fixtureName string) func(t *testing.T) { diff --git a/pkg/asttransform/typename_visitor.go b/pkg/asttransform/typename_visitor.go index f7ad19997..950790f31 100644 --- a/pkg/asttransform/typename_visitor.go +++ b/pkg/asttransform/typename_visitor.go @@ -3,10 +3,10 @@ package asttransform import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) const typenameFieldName = "__typename" diff --git a/pkg/astvalidation/definition_validation.go b/pkg/astvalidation/definition_validation.go index 747835b7a..99b8e6e22 100644 --- a/pkg/astvalidation/definition_validation.go +++ b/pkg/astvalidation/definition_validation.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func DefaultDefinitionValidator() *DefinitionValidator { diff --git a/pkg/astvalidation/definition_validation_test.go b/pkg/astvalidation/definition_validation_test.go index b0479789f..112c82275 100644 --- a/pkg/astvalidation/definition_validation_test.go +++ b/pkg/astvalidation/definition_validation_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" ) func runDefinitionValidation(t *testing.T, definitionInput string, expectation ValidationState, rules ...Rule) { diff --git a/pkg/astvalidation/operation_rule_all_variable_uses_defined.go b/pkg/astvalidation/operation_rule_all_variable_uses_defined.go index 18de851f3..a2062a369 100644 --- a/pkg/astvalidation/operation_rule_all_variable_uses_defined.go +++ b/pkg/astvalidation/operation_rule_all_variable_uses_defined.go @@ -3,9 +3,9 @@ package astvalidation import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // AllVariableUsesDefined validates if used variables are defined within the operation diff --git a/pkg/astvalidation/operation_rule_all_variables_used.go b/pkg/astvalidation/operation_rule_all_variables_used.go index 05fe4040a..9bbae2cf8 100644 --- a/pkg/astvalidation/operation_rule_all_variables_used.go +++ b/pkg/astvalidation/operation_rule_all_variables_used.go @@ -3,9 +3,9 @@ package astvalidation import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // AllVariablesUsed validates if all defined variables are used diff --git a/pkg/astvalidation/operation_rule_argument_uniqueness.go b/pkg/astvalidation/operation_rule_argument_uniqueness.go index 535117047..43fd455f2 100644 --- a/pkg/astvalidation/operation_rule_argument_uniqueness.go +++ b/pkg/astvalidation/operation_rule_argument_uniqueness.go @@ -3,9 +3,9 @@ package astvalidation import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // ArgumentUniqueness validates if arguments are unique diff --git a/pkg/astvalidation/operation_rule_directives_defined.go b/pkg/astvalidation/operation_rule_directives_defined.go index cddd569e8..2b389d67d 100644 --- a/pkg/astvalidation/operation_rule_directives_defined.go +++ b/pkg/astvalidation/operation_rule_directives_defined.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // DirectivesAreDefined validates if used directives are defined diff --git a/pkg/astvalidation/operation_rule_directives_in_valid_locations.go b/pkg/astvalidation/operation_rule_directives_in_valid_locations.go index c4ee7408d..2da316083 100644 --- a/pkg/astvalidation/operation_rule_directives_in_valid_locations.go +++ b/pkg/astvalidation/operation_rule_directives_in_valid_locations.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // DirectivesAreInValidLocations validates if directives are used in the right place diff --git a/pkg/astvalidation/operation_rule_directives_unique_per_location.go b/pkg/astvalidation/operation_rule_directives_unique_per_location.go index 5ba28b8f2..6f7ad325f 100644 --- a/pkg/astvalidation/operation_rule_directives_unique_per_location.go +++ b/pkg/astvalidation/operation_rule_directives_unique_per_location.go @@ -3,9 +3,9 @@ package astvalidation import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // DirectivesAreUniquePerLocation validates if directives are unique per location diff --git a/pkg/astvalidation/operation_rule_document_contains_executable_operation.go b/pkg/astvalidation/operation_rule_document_contains_executable_operation.go index 2300ef8ed..df7b0030e 100644 --- a/pkg/astvalidation/operation_rule_document_contains_executable_operation.go +++ b/pkg/astvalidation/operation_rule_document_contains_executable_operation.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // DocumentContainsExecutableOperation validates if the document actually contains an executable Operation diff --git a/pkg/astvalidation/operation_rule_field_selection_merging.go b/pkg/astvalidation/operation_rule_field_selection_merging.go index f362e0ec0..239c42450 100644 --- a/pkg/astvalidation/operation_rule_field_selection_merging.go +++ b/pkg/astvalidation/operation_rule_field_selection_merging.go @@ -3,10 +3,10 @@ package astvalidation import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // FieldSelectionMerging validates if field selections can be merged diff --git a/pkg/astvalidation/operation_rule_fragments.go b/pkg/astvalidation/operation_rule_fragments.go index cca9ba76b..5e2c5f07a 100644 --- a/pkg/astvalidation/operation_rule_fragments.go +++ b/pkg/astvalidation/operation_rule_fragments.go @@ -3,9 +3,9 @@ package astvalidation import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // Fragments validates if the use of fragments in a given document is correct diff --git a/pkg/astvalidation/operation_rule_lone_anonymous_operation.go b/pkg/astvalidation/operation_rule_lone_anonymous_operation.go index 647732bba..f9b0a0fe5 100644 --- a/pkg/astvalidation/operation_rule_lone_anonymous_operation.go +++ b/pkg/astvalidation/operation_rule_lone_anonymous_operation.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // LoneAnonymousOperation validates if anonymous operations are alone in a given document. diff --git a/pkg/astvalidation/operation_rule_operation_name_uniqueness.go b/pkg/astvalidation/operation_rule_operation_name_uniqueness.go index 76ab9d0c1..2e22e59a4 100644 --- a/pkg/astvalidation/operation_rule_operation_name_uniqueness.go +++ b/pkg/astvalidation/operation_rule_operation_name_uniqueness.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // OperationNameUniqueness validates if all operation names are unique diff --git a/pkg/astvalidation/operation_rule_required_arguments.go b/pkg/astvalidation/operation_rule_required_arguments.go index 875b5ee3c..3edd4c7bb 100644 --- a/pkg/astvalidation/operation_rule_required_arguments.go +++ b/pkg/astvalidation/operation_rule_required_arguments.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // RequiredArguments validates if all required arguments are present diff --git a/pkg/astvalidation/operation_rule_subscription_single_root_field.go b/pkg/astvalidation/operation_rule_subscription_single_root_field.go index 3e2e38c11..3ad4ba875 100644 --- a/pkg/astvalidation/operation_rule_subscription_single_root_field.go +++ b/pkg/astvalidation/operation_rule_subscription_single_root_field.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // SubscriptionSingleRootField validates if subscriptions have a single root field diff --git a/pkg/astvalidation/operation_rule_valid_arguments.go b/pkg/astvalidation/operation_rule_valid_arguments.go index b5b11c7e6..0058a13d2 100644 --- a/pkg/astvalidation/operation_rule_valid_arguments.go +++ b/pkg/astvalidation/operation_rule_valid_arguments.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // ValidArguments validates if arguments are valid diff --git a/pkg/astvalidation/operation_rule_validate_field_selections.go b/pkg/astvalidation/operation_rule_validate_field_selections.go index ed75caa54..b8afa6172 100644 --- a/pkg/astvalidation/operation_rule_validate_field_selections.go +++ b/pkg/astvalidation/operation_rule_validate_field_selections.go @@ -4,10 +4,10 @@ import ( "bytes" "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // FieldSelections validates if all FieldSelections are possible and valid diff --git a/pkg/astvalidation/operation_rule_values.go b/pkg/astvalidation/operation_rule_values.go index d63905bda..d95752387 100644 --- a/pkg/astvalidation/operation_rule_values.go +++ b/pkg/astvalidation/operation_rule_values.go @@ -3,10 +3,10 @@ package astvalidation import ( "bytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astimport" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astimport" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // Values validates if values are used properly diff --git a/pkg/astvalidation/operation_rule_variable_uniqueness.go b/pkg/astvalidation/operation_rule_variable_uniqueness.go index 85c73368b..b61ccb64f 100644 --- a/pkg/astvalidation/operation_rule_variable_uniqueness.go +++ b/pkg/astvalidation/operation_rule_variable_uniqueness.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // VariableUniqueness validates if variables are unique in a given document diff --git a/pkg/astvalidation/operation_rule_variables_are_input_types.go b/pkg/astvalidation/operation_rule_variables_are_input_types.go index a3ff683e1..bb62c1cfa 100644 --- a/pkg/astvalidation/operation_rule_variables_are_input_types.go +++ b/pkg/astvalidation/operation_rule_variables_are_input_types.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // VariablesAreInputTypes validates if variables are correct input types diff --git a/pkg/astvalidation/operation_validation.go b/pkg/astvalidation/operation_validation.go index 66123a4f2..9e6ff7b68 100644 --- a/pkg/astvalidation/operation_validation.go +++ b/pkg/astvalidation/operation_validation.go @@ -2,9 +2,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // DefaultOperationValidator returns a fully initialized OperationValidator with all default rules registered diff --git a/pkg/astvalidation/operation_validation_test.go b/pkg/astvalidation/operation_validation_test.go index b8d73396a..3c1a9cede 100644 --- a/pkg/astvalidation/operation_validation_test.go +++ b/pkg/astvalidation/operation_validation_test.go @@ -4,12 +4,12 @@ import ( "fmt" "testing" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type options struct { diff --git a/pkg/astvalidation/overlapping_fields_test.go b/pkg/astvalidation/overlapping_fields_test.go index ab1f04973..6cf58af05 100644 --- a/pkg/astvalidation/overlapping_fields_test.go +++ b/pkg/astvalidation/overlapping_fields_test.go @@ -7,9 +7,9 @@ import ( "testing" "text/template" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // inspired by: https://tech.xing.com/graphql-overlapping-fields-can-be-merged-fast-ea6e92e0a01 diff --git a/pkg/astvalidation/reference/testsgo/harness_test.go b/pkg/astvalidation/reference/testsgo/harness_test.go index 6b4978c1f..6ffcdc834 100644 --- a/pkg/astvalidation/reference/testsgo/harness_test.go +++ b/pkg/astvalidation/reference/testsgo/harness_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/astvalidation" - "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/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/astvalidation" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) const ( diff --git a/pkg/astvalidation/rule.go b/pkg/astvalidation/rule.go index eddc6fa91..46136f9f4 100644 --- a/pkg/astvalidation/rule.go +++ b/pkg/astvalidation/rule.go @@ -1,7 +1,7 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) // Rule is hook to register callback functions on the Walker diff --git a/pkg/astvalidation/rule_implement_transitive_interfaces.go b/pkg/astvalidation/rule_implement_transitive_interfaces.go index 2ee4a5d1e..0c358f827 100644 --- a/pkg/astvalidation/rule_implement_transitive_interfaces.go +++ b/pkg/astvalidation/rule_implement_transitive_interfaces.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func ImplementTransitiveInterfaces() Rule { diff --git a/pkg/astvalidation/rule_implementing_types_are_supersets.go b/pkg/astvalidation/rule_implementing_types_are_supersets.go index 4b971da25..70ed06327 100644 --- a/pkg/astvalidation/rule_implementing_types_are_supersets.go +++ b/pkg/astvalidation/rule_implementing_types_are_supersets.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func ImplementingTypesAreSupersets() Rule { diff --git a/pkg/astvalidation/rule_known_type_names.go b/pkg/astvalidation/rule_known_type_names.go index 10ce618fa..a10a84e5f 100644 --- a/pkg/astvalidation/rule_known_type_names.go +++ b/pkg/astvalidation/rule_known_type_names.go @@ -3,9 +3,9 @@ package astvalidation import ( "github.com/cespare/xxhash/v2" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func KnownTypeNames() Rule { diff --git a/pkg/astvalidation/rule_require_defined_types_for_extensions.go b/pkg/astvalidation/rule_require_defined_types_for_extensions.go index 94aa635a2..ad1b0524b 100644 --- a/pkg/astvalidation/rule_require_defined_types_for_extensions.go +++ b/pkg/astvalidation/rule_require_defined_types_for_extensions.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func RequireDefinedTypesForExtensions() Rule { diff --git a/pkg/astvalidation/rule_unique_enum_value_names.go b/pkg/astvalidation/rule_unique_enum_value_names.go index cea1a058f..5e78ffa9a 100644 --- a/pkg/astvalidation/rule_unique_enum_value_names.go +++ b/pkg/astvalidation/rule_unique_enum_value_names.go @@ -3,9 +3,9 @@ package astvalidation import ( "github.com/cespare/xxhash/v2" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type hashedEnumValueNames map[uint64]bool diff --git a/pkg/astvalidation/rule_unique_field_definition_names.go b/pkg/astvalidation/rule_unique_field_definition_names.go index 7a602967f..c6468f91a 100644 --- a/pkg/astvalidation/rule_unique_field_definition_names.go +++ b/pkg/astvalidation/rule_unique_field_definition_names.go @@ -5,9 +5,9 @@ import ( "github.com/cespare/xxhash/v2" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type hashedFieldNames map[uint64]bool diff --git a/pkg/astvalidation/rule_unique_operation_types.go b/pkg/astvalidation/rule_unique_operation_types.go index 73b4abd73..e80addf1d 100644 --- a/pkg/astvalidation/rule_unique_operation_types.go +++ b/pkg/astvalidation/rule_unique_operation_types.go @@ -1,9 +1,9 @@ package astvalidation import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func UniqueOperationTypes() Rule { diff --git a/pkg/astvalidation/rule_unique_type_names.go b/pkg/astvalidation/rule_unique_type_names.go index 587cd604b..701ef7a9a 100644 --- a/pkg/astvalidation/rule_unique_type_names.go +++ b/pkg/astvalidation/rule_unique_type_names.go @@ -3,9 +3,9 @@ package astvalidation import ( "github.com/cespare/xxhash/v2" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func UniqueTypeNames() Rule { diff --git a/pkg/astvisitor/simplevisitor.go b/pkg/astvisitor/simplevisitor.go index 051b59e95..cb767497f 100644 --- a/pkg/astvisitor/simplevisitor.go +++ b/pkg/astvisitor/simplevisitor.go @@ -3,7 +3,7 @@ package astvisitor import ( "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/ast" ) type SimpleWalker struct { diff --git a/pkg/astvisitor/simplevisitor_test.go b/pkg/astvisitor/simplevisitor_test.go index 1e78eeccd..0d96f36db 100644 --- a/pkg/astvisitor/simplevisitor_test.go +++ b/pkg/astvisitor/simplevisitor_test.go @@ -3,7 +3,7 @@ package astvisitor import ( "testing" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" ) func BenchmarkSimpleVisitor(b *testing.B) { diff --git a/pkg/astvisitor/visitor.go b/pkg/astvisitor/visitor.go index 06bee40e2..955b76029 100644 --- a/pkg/astvisitor/visitor.go +++ b/pkg/astvisitor/visitor.go @@ -4,9 +4,9 @@ import ( "bytes" "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) var ( diff --git a/pkg/astvisitor/visitor_test.go b/pkg/astvisitor/visitor_test.go index ac32b57b3..1ec3014da 100644 --- a/pkg/astvisitor/visitor_test.go +++ b/pkg/astvisitor/visitor_test.go @@ -10,9 +10,9 @@ import ( "github.com/jensneuse/diffview" "github.com/sebdah/goldie" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) var must = func(err error) { diff --git a/pkg/codegen/codegen.go b/pkg/codegen/codegen.go index f942189e0..d11304a50 100644 --- a/pkg/codegen/codegen.go +++ b/pkg/codegen/codegen.go @@ -11,9 +11,9 @@ import ( "github.com/dave/jennifer/jen" "github.com/iancoleman/strcase" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type CodeGen struct { @@ -101,7 +101,7 @@ func (g *genVisitor) renderUnmarshal(structName, graphqlObjectName string, ref a case ast.NodeKindDirectiveDefinition: g.file.Func().Params(jen.Id(strings.ToLower(structName)[0:1]).Id("*").Id(structName)). Id("Unmarshal").Params( - jen.Id("doc").Id("*").Qual("github.com/jensneuse/graphql-go-tools/pkg/ast", "Document"), + jen.Id("doc").Id("*").Qual("github.com/wundergraph/graphql-go-tools/pkg/ast", "Document"), jen.Id("ref").Int()). BlockFunc(func(group *jen.Group) { for _, i := range g.doc.DirectiveDefinitions[ref.Ref].ArgumentsDefinition.Refs { @@ -128,7 +128,7 @@ func (g *genVisitor) renderUnmarshal(structName, graphqlObjectName string, ref a case ast.NodeKindInputObjectTypeDefinition: g.file.Func().Params(jen.Id(strings.ToLower(structName)[0:1]).Id("*").Id(structName)). Id("Unmarshal").Params( - jen.Id("doc").Id("*").Qual("github.com/jensneuse/graphql-go-tools/pkg/ast", "Document"), + jen.Id("doc").Id("*").Qual("github.com/wundergraph/graphql-go-tools/pkg/ast", "Document"), jen.Id("ref").Int()). BlockFunc(func(group *jen.Group) { for _, i := range g.doc.InputObjectTypeDefinitions[ref.Ref].InputFieldsDefinition.Refs { @@ -408,7 +408,7 @@ func (g *genVisitor) LeaveEnumTypeDefinition(ref int) { g.file.Type().Id(name).Int() refs := g.doc.EnumTypeDefinitions[ref].EnumValuesDefinition.Refs - g.file.Func().Params(jen.Id(shortHandle).Id("*").Id(name)).Id("Unmarshal").Params(jen.Id("doc").Id("*").Qual("github.com/jensneuse/graphql-go-tools/pkg/ast", "Document"), jen.Id("ref").Int()).Block( + g.file.Func().Params(jen.Id(shortHandle).Id("*").Id(name)).Id("Unmarshal").Params(jen.Id("doc").Id("*").Qual("github.com/wundergraph/graphql-go-tools/pkg/ast", "Document"), jen.Id("ref").Int()).Block( jen.Switch(jen.Id("doc").Dot("EnumValueNameString").Call(jen.Id("ref"))).BlockFunc(func(group *jen.Group) { for _, i := range refs { valueName := g.doc.EnumValueDefinitionNameString(i) diff --git a/pkg/codegen/codegen_test.go b/pkg/codegen/codegen_test.go index a8efcbf52..a0a055344 100644 --- a/pkg/codegen/codegen_test.go +++ b/pkg/codegen/codegen_test.go @@ -8,7 +8,7 @@ import ( "github.com/sebdah/goldie" "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" ) func TestCodeGen_GenerateDirectiveDefinitionStruct(t *testing.T) { diff --git a/pkg/codegen/fixtures/DataSource.golden b/pkg/codegen/fixtures/DataSource.golden index 71eae1887..3999e5d62 100644 --- a/pkg/codegen/fixtures/DataSource.golden +++ b/pkg/codegen/fixtures/DataSource.golden @@ -1,7 +1,7 @@ // Code generated by graphql-go-tools gen, DO NOT EDIT. package codegen -import ast "github.com/jensneuse/graphql-go-tools/pkg/ast" +import ast "github.com/wundergraph/graphql-go-tools/pkg/ast" type DataSourceConfig struct { NonNullString string diff --git a/pkg/codegen/manual.go b/pkg/codegen/manual.go index eb8a5436c..2d1610dfc 100644 --- a/pkg/codegen/manual.go +++ b/pkg/codegen/manual.go @@ -1,6 +1,6 @@ package codegen -import "github.com/jensneuse/graphql-go-tools/pkg/ast" +import "github.com/wundergraph/graphql-go-tools/pkg/ast" type DataSourceConfig struct { NonNullString string diff --git a/pkg/codegen/manual_test.go b/pkg/codegen/manual_test.go index 898329a0f..82c3dca22 100644 --- a/pkg/codegen/manual_test.go +++ b/pkg/codegen/manual_test.go @@ -3,7 +3,7 @@ package codegen import ( "testing" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" ) func TestManual(t *testing.T) { diff --git a/pkg/engine/datasource/graphql_datasource/batch.go b/pkg/engine/datasource/graphql_datasource/batch.go index 52c625082..2665a2331 100644 --- a/pkg/engine/datasource/graphql_datasource/batch.go +++ b/pkg/engine/datasource/graphql_datasource/batch.go @@ -6,10 +6,10 @@ import ( "github.com/buger/jsonparser" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/fastbuffer" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/pool" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/fastbuffer" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/pool" ) var representationPath = []string{"body", "variables", "representations"} diff --git a/pkg/engine/datasource/graphql_datasource/batch_test.go b/pkg/engine/datasource/graphql_datasource/batch_test.go index 8c13cbc24..690e0a44b 100644 --- a/pkg/engine/datasource/graphql_datasource/batch_test.go +++ b/pkg/engine/datasource/graphql_datasource/batch_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/fastbuffer" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/fastbuffer" ) func newBufPair(data string, err string) *resolve.BufPair { diff --git a/pkg/engine/datasource/graphql_datasource/graphql_datasource.go b/pkg/engine/datasource/graphql_datasource/graphql_datasource.go index a760a90a6..93aaf1c93 100644 --- a/pkg/engine/datasource/graphql_datasource/graphql_datasource.go +++ b/pkg/engine/datasource/graphql_datasource/graphql_datasource.go @@ -9,19 +9,19 @@ import ( "net/http" "github.com/buger/jsonparser" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" "github.com/tidwall/sjson" - - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/httpclient" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/federation" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/httpclient" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/federation" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type Planner struct { @@ -1157,7 +1157,7 @@ type Source struct { } func (s *Source) compactAndUnNullVariables(input []byte) []byte { - variables, _, _, err := jsonparser.Get(input, "body","variables") + variables, _, _, err := jsonparser.Get(input, "body", "variables") if err != nil { return input } @@ -1179,7 +1179,7 @@ func (s *Source) compactAndUnNullVariables(input []byte) []byte { break } } - input, _ = jsonparser.Set(input, variables, "body","variables") + input, _ = jsonparser.Set(input, variables, "body", "variables") return input } diff --git a/pkg/engine/datasource/graphql_datasource/graphql_datasource_test.go b/pkg/engine/datasource/graphql_datasource/graphql_datasource_test.go index 21e57502c..85e4e2834 100644 --- a/pkg/engine/datasource/graphql_datasource/graphql_datasource_test.go +++ b/pkg/engine/datasource/graphql_datasource/graphql_datasource_test.go @@ -16,10 +16,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/examples/chat" - . "github.com/jensneuse/graphql-go-tools/pkg/engine/datasourcetesting" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/examples/chat" + . "github.com/wundergraph/graphql-go-tools/pkg/engine/datasourcetesting" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" ) func TestGraphQLDataSource(t *testing.T) { diff --git a/pkg/engine/datasource/httpclient/httpclient.go b/pkg/engine/datasource/httpclient/httpclient.go index a9f97adc2..63345b553 100644 --- a/pkg/engine/datasource/httpclient/httpclient.go +++ b/pkg/engine/datasource/httpclient/httpclient.go @@ -10,8 +10,8 @@ import ( "github.com/tidwall/gjson" "github.com/tidwall/sjson" - "github.com/jensneuse/graphql-go-tools/internal/pkg/quotes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/internal/pkg/quotes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) const ( diff --git a/pkg/engine/datasource/httpclient/httpclient_test.go b/pkg/engine/datasource/httpclient/httpclient_test.go index c80c20148..97e97bbca 100644 --- a/pkg/engine/datasource/httpclient/httpclient_test.go +++ b/pkg/engine/datasource/httpclient/httpclient_test.go @@ -12,8 +12,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/quotes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/internal/pkg/quotes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) func TestHttpClient(t *testing.T) { diff --git a/pkg/engine/datasource/httpclient/nethttpclient.go b/pkg/engine/datasource/httpclient/nethttpclient.go index 64ad021a5..5acae6233 100644 --- a/pkg/engine/datasource/httpclient/nethttpclient.go +++ b/pkg/engine/datasource/httpclient/nethttpclient.go @@ -11,7 +11,7 @@ import ( "github.com/buger/jsonparser" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) const ( diff --git a/pkg/engine/datasource/introspection_datasource/config_factory.go b/pkg/engine/datasource/introspection_datasource/config_factory.go index 2b30544f3..bd5adb2df 100644 --- a/pkg/engine/datasource/introspection_datasource/config_factory.go +++ b/pkg/engine/datasource/introspection_datasource/config_factory.go @@ -3,10 +3,10 @@ package introspection_datasource import ( "encoding/json" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/introspection" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/introspection" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type IntrospectionConfigFactory struct { diff --git a/pkg/engine/datasource/introspection_datasource/factory.go b/pkg/engine/datasource/introspection_datasource/factory.go index 68ab963b3..9cbbad2e8 100644 --- a/pkg/engine/datasource/introspection_datasource/factory.go +++ b/pkg/engine/datasource/introspection_datasource/factory.go @@ -3,8 +3,8 @@ package introspection_datasource import ( "context" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/introspection" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/introspection" ) type Factory struct { diff --git a/pkg/engine/datasource/introspection_datasource/planner.go b/pkg/engine/datasource/introspection_datasource/planner.go index 5e6a8786e..86de31349 100644 --- a/pkg/engine/datasource/introspection_datasource/planner.go +++ b/pkg/engine/datasource/introspection_datasource/planner.go @@ -1,8 +1,8 @@ package introspection_datasource import ( - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/introspection" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/introspection" ) type Planner struct { diff --git a/pkg/engine/datasource/introspection_datasource/planner_test.go b/pkg/engine/datasource/introspection_datasource/planner_test.go index 141983312..122ac90b2 100644 --- a/pkg/engine/datasource/introspection_datasource/planner_test.go +++ b/pkg/engine/datasource/introspection_datasource/planner_test.go @@ -3,10 +3,10 @@ package introspection_datasource import ( "testing" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasourcetesting" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/introspection" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasourcetesting" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/introspection" ) const ( diff --git a/pkg/engine/datasource/introspection_datasource/source.go b/pkg/engine/datasource/introspection_datasource/source.go index 401557aef..2011d10e1 100644 --- a/pkg/engine/datasource/introspection_datasource/source.go +++ b/pkg/engine/datasource/introspection_datasource/source.go @@ -5,7 +5,7 @@ import ( "encoding/json" "io" - "github.com/jensneuse/graphql-go-tools/pkg/introspection" + "github.com/wundergraph/graphql-go-tools/pkg/introspection" ) var ( diff --git a/pkg/engine/datasource/introspection_datasource/source_test.go b/pkg/engine/datasource/introspection_datasource/source_test.go index 1ffa85d26..a78eea52d 100644 --- a/pkg/engine/datasource/introspection_datasource/source_test.go +++ b/pkg/engine/datasource/introspection_datasource/source_test.go @@ -9,9 +9,9 @@ import ( "github.com/sebdah/goldie" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/introspection" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/introspection" ) func TestSource_Load(t *testing.T) { diff --git a/pkg/engine/datasource/rest_datasource/rest_datasource.go b/pkg/engine/datasource/rest_datasource/rest_datasource.go index c0984b7f3..cef2f05d8 100644 --- a/pkg/engine/datasource/rest_datasource/rest_datasource.go +++ b/pkg/engine/datasource/rest_datasource/rest_datasource.go @@ -9,10 +9,10 @@ import ( "regexp" "strings" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/httpclient" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/httpclient" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type Planner struct { @@ -65,11 +65,11 @@ type SubscriptionConfiguration struct { } type FetchConfiguration struct { - URL string - Method string - Header http.Header - Query []QueryConfiguration - Body string + URL string + Method string + Header http.Header + Query []QueryConfiguration + Body string } type QueryConfiguration struct { diff --git a/pkg/engine/datasource/rest_datasource/rest_datasource_test.go b/pkg/engine/datasource/rest_datasource/rest_datasource_test.go index 90c0b4725..e54911ac7 100644 --- a/pkg/engine/datasource/rest_datasource/rest_datasource_test.go +++ b/pkg/engine/datasource/rest_datasource/rest_datasource_test.go @@ -13,10 +13,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasourcetesting" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasourcetesting" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" ) const ( @@ -122,7 +122,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { Input: `{"method":"GET","url":"https://example.com/friend"}`, DataSource: &Source{}, DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, Fields: []*resolve.Field{ { @@ -142,8 +142,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, ), DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, - + DisableDataLoader: true, }, Fields: []*resolve.Field{ { @@ -251,7 +250,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, ), DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, Fields: []*resolve.Field{ { @@ -334,7 +333,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { ), DataSourceIdentifier: []byte("rest_datasource.Source"), DisallowSingleFlight: true, - DisableDataLoader: true, + DisableDataLoader: true, }, Fields: []*resolve.Field{ { @@ -408,7 +407,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, ), DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, &resolve.SingleFetch{ BufferId: 3, @@ -425,7 +424,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, ), DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, }, }, @@ -449,7 +448,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, ), DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, &resolve.SingleFetch{ BufferId: 2, @@ -462,7 +461,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, ), DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, }, }, @@ -581,7 +580,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, ), DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, Fields: []*resolve.Field{ { @@ -711,7 +710,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { DataSource: &Source{}, DisallowSingleFlight: true, DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, Fields: []*resolve.Field{ { @@ -778,7 +777,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, }, DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, Fields: []*resolve.Field{ { @@ -855,7 +854,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, ), DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, Fields: []*resolve.Field{ { @@ -944,7 +943,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, ), DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, Fields: []*resolve.Field{ { @@ -1017,7 +1016,7 @@ func TestFastHttpJsonDataSourcePlanning(t *testing.T) { }, ), DataSourceIdentifier: []byte("rest_datasource.Source"), - DisableDataLoader: true, + DisableDataLoader: true, }, Fields: []*resolve.Field{ { diff --git a/pkg/engine/datasource/staticdatasource/static_datasource.go b/pkg/engine/datasource/staticdatasource/static_datasource.go index b10ac64f9..dfe51458d 100644 --- a/pkg/engine/datasource/staticdatasource/static_datasource.go +++ b/pkg/engine/datasource/staticdatasource/static_datasource.go @@ -5,7 +5,7 @@ import ( "encoding/json" "io" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" ) type Configuration struct { diff --git a/pkg/engine/datasource/staticdatasource/static_datasource_test.go b/pkg/engine/datasource/staticdatasource/static_datasource_test.go index ec58bd2be..84b193a71 100644 --- a/pkg/engine/datasource/staticdatasource/static_datasource_test.go +++ b/pkg/engine/datasource/staticdatasource/static_datasource_test.go @@ -3,9 +3,9 @@ package staticdatasource import ( "testing" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasourcetesting" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasourcetesting" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" ) const ( diff --git a/pkg/engine/datasourcetesting/datasourcetesting.go b/pkg/engine/datasourcetesting/datasourcetesting.go index 48979f4c9..687b9bb9a 100644 --- a/pkg/engine/datasourcetesting/datasourcetesting.go +++ b/pkg/engine/datasourcetesting/datasourcetesting.go @@ -8,14 +8,14 @@ import ( "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/astvalidation" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/astvalidation" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type CheckFunc func(t *testing.T, op ast.Document, actualPlan plan.Plan) diff --git a/pkg/engine/plan/analyze_plan_kind.go b/pkg/engine/plan/analyze_plan_kind.go index 6ce570c32..66260aa37 100644 --- a/pkg/engine/plan/analyze_plan_kind.go +++ b/pkg/engine/plan/analyze_plan_kind.go @@ -1,9 +1,9 @@ package plan import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func AnalyzePlanKind(operation, definition *ast.Document, operationName string) (subscription, streaming bool, error error) { diff --git a/pkg/engine/plan/analyze_plan_kind_test.go b/pkg/engine/plan/analyze_plan_kind_test.go index 6b1bb7d62..e712fec41 100644 --- a/pkg/engine/plan/analyze_plan_kind_test.go +++ b/pkg/engine/plan/analyze_plan_kind_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" ) type expectation func(t *testing.T, subscription, streaming bool, err error) diff --git a/pkg/engine/plan/local_type_field_extractor.go b/pkg/engine/plan/local_type_field_extractor.go index bfcdc4c6f..e7b2ea4c3 100644 --- a/pkg/engine/plan/local_type_field_extractor.go +++ b/pkg/engine/plan/local_type_field_extractor.go @@ -1,7 +1,7 @@ package plan import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/ast" ) const ( diff --git a/pkg/engine/plan/local_type_field_extractor_test.go b/pkg/engine/plan/local_type_field_extractor_test.go index 7a77613c8..36bbe7b0e 100644 --- a/pkg/engine/plan/local_type_field_extractor_test.go +++ b/pkg/engine/plan/local_type_field_extractor_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" ) func sortNodesAndFields(nodes []TypeField) { diff --git a/pkg/engine/plan/plan.go b/pkg/engine/plan/plan.go index 84a0f9c66..25436594c 100644 --- a/pkg/engine/plan/plan.go +++ b/pkg/engine/plan/plan.go @@ -9,12 +9,12 @@ import ( "regexp" "strings" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astimport" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astimport" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type Planner struct { diff --git a/pkg/engine/plan/plan_closer_test.go b/pkg/engine/plan/plan_closer_test.go index 094ac9297..7a3929a0b 100644 --- a/pkg/engine/plan/plan_closer_test.go +++ b/pkg/engine/plan/plan_closer_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/astvalidation" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/astvalidation" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func TestCloser(t *testing.T) { diff --git a/pkg/engine/plan/plan_test.go b/pkg/engine/plan/plan_test.go index a64fac3a0..4429bc4f0 100644 --- a/pkg/engine/plan/plan_test.go +++ b/pkg/engine/plan/plan_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/astvalidation" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/astvalidation" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func TestPlanner_Plan(t *testing.T) { diff --git a/pkg/engine/plan/required_field_extractor.go b/pkg/engine/plan/required_field_extractor.go index a191672c6..618d3ee2b 100644 --- a/pkg/engine/plan/required_field_extractor.go +++ b/pkg/engine/plan/required_field_extractor.go @@ -3,7 +3,7 @@ package plan import ( "strings" - "github.com/jensneuse/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/ast" ) var fieldsArgumentNameBytes = []byte("fields") diff --git a/pkg/engine/plan/required_field_extractor_test.go b/pkg/engine/plan/required_field_extractor_test.go index acada58e6..bea91bf11 100644 --- a/pkg/engine/plan/required_field_extractor_test.go +++ b/pkg/engine/plan/required_field_extractor_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" ) func TestRequiredFieldExtractor_GetAllFieldRequires(t *testing.T) { diff --git a/pkg/engine/resolve/dataloader.go b/pkg/engine/resolve/dataloader.go index b815cce0f..e37e08540 100644 --- a/pkg/engine/resolve/dataloader.go +++ b/pkg/engine/resolve/dataloader.go @@ -6,7 +6,7 @@ import ( "github.com/buger/jsonparser" - "github.com/jensneuse/graphql-go-tools/pkg/fastbuffer" + "github.com/wundergraph/graphql-go-tools/pkg/fastbuffer" ) const ( diff --git a/pkg/engine/resolve/defer_test.go b/pkg/engine/resolve/defer_test.go index 762434727..9ba6ef63d 100644 --- a/pkg/engine/resolve/defer_test.go +++ b/pkg/engine/resolve/defer_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) func TestWithoutDefer(t *testing.T) { @@ -45,10 +45,10 @@ func TestWithoutDefer(t *testing.T) { InputTemplate: InputTemplate{ Segments: []TemplateSegment{ { - SegmentType: VariableSegmentType, - VariableKind: ObjectVariableKind, - VariableSourcePath: []string{"id"}, - Renderer: NewGraphQLVariableRenderer(`{"type":"number"}`), + SegmentType: VariableSegmentType, + VariableKind: ObjectVariableKind, + VariableSourcePath: []string{"id"}, + Renderer: NewGraphQLVariableRenderer(`{"type":"number"}`), }, }, }, @@ -221,10 +221,10 @@ func TestDefer(t *testing.T) { InputTemplate: InputTemplate{ Segments: []TemplateSegment{ { - SegmentType: VariableSegmentType, - VariableKind: ObjectVariableKind, - VariableSourcePath: []string{"id"}, - Renderer: NewGraphQLVariableRenderer(`{"type":"number"}`), + SegmentType: VariableSegmentType, + VariableKind: ObjectVariableKind, + VariableSourcePath: []string{"id"}, + Renderer: NewGraphQLVariableRenderer(`{"type":"number"}`), }, }, }, diff --git a/pkg/engine/resolve/fetcher.go b/pkg/engine/resolve/fetcher.go index d57efcf73..4902bffee 100644 --- a/pkg/engine/resolve/fetcher.go +++ b/pkg/engine/resolve/fetcher.go @@ -6,8 +6,8 @@ import ( "github.com/cespare/xxhash/v2" - "github.com/jensneuse/graphql-go-tools/pkg/fastbuffer" - "github.com/jensneuse/graphql-go-tools/pkg/pool" + "github.com/wundergraph/graphql-go-tools/pkg/fastbuffer" + "github.com/wundergraph/graphql-go-tools/pkg/pool" ) type Fetcher struct { diff --git a/pkg/engine/resolve/inputtemplate.go b/pkg/engine/resolve/inputtemplate.go index 2253f0d23..1237b608c 100644 --- a/pkg/engine/resolve/inputtemplate.go +++ b/pkg/engine/resolve/inputtemplate.go @@ -6,8 +6,8 @@ import ( "github.com/buger/jsonparser" - "github.com/jensneuse/graphql-go-tools/pkg/fastbuffer" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/fastbuffer" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type SegmentType int diff --git a/pkg/engine/resolve/resolve.go b/pkg/engine/resolve/resolve.go index 6fbdb640a..66525d93a 100644 --- a/pkg/engine/resolve/resolve.go +++ b/pkg/engine/resolve/resolve.go @@ -1,4 +1,4 @@ -//go:generate mockgen --build_flags=--mod=mod -self_package=github.com/jensneuse/graphql-go-tools/pkg/engine/resolve -destination=resolve_mock_test.go -package=resolve . DataSource,BeforeFetchHook,AfterFetchHook,DataSourceBatch,DataSourceBatchFactory +//go:generate mockgen --build_flags=--mod=mod -self_package=github.com/wundergraph/graphql-go-tools/pkg/engine/resolve -destination=resolve_mock_test.go -package=resolve . DataSource,BeforeFetchHook,AfterFetchHook,DataSourceBatch,DataSourceBatchFactory package resolve @@ -16,10 +16,10 @@ import ( "github.com/cespare/xxhash/v2" errors "golang.org/x/xerrors" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/fastbuffer" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/pool" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/fastbuffer" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/pool" ) var ( diff --git a/pkg/engine/resolve/resolve_mock_test.go b/pkg/engine/resolve/resolve_mock_test.go index 5ba939182..fd8b54b9f 100644 --- a/pkg/engine/resolve/resolve_mock_test.go +++ b/pkg/engine/resolve/resolve_mock_test.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/jensneuse/graphql-go-tools/pkg/engine/resolve (interfaces: DataSource,BeforeFetchHook,AfterFetchHook,DataSourceBatch,DataSourceBatchFactory) +// Source: github.com/wundergraph/graphql-go-tools/pkg/engine/resolve (interfaces: DataSource,BeforeFetchHook,AfterFetchHook,DataSourceBatch,DataSourceBatchFactory) // Package resolve is a generated GoMock package. package resolve @@ -7,7 +7,7 @@ package resolve import ( context "context" gomock "github.com/golang/mock/gomock" - fastbuffer "github.com/jensneuse/graphql-go-tools/pkg/fastbuffer" + fastbuffer "github.com/wundergraph/graphql-go-tools/pkg/fastbuffer" io "io" reflect "reflect" ) diff --git a/pkg/engine/resolve/resolve_test.go b/pkg/engine/resolve/resolve_test.go index ccfd4ca94..e63620eb8 100644 --- a/pkg/engine/resolve/resolve_test.go +++ b/pkg/engine/resolve/resolve_test.go @@ -14,7 +14,7 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/fastbuffer" + "github.com/wundergraph/graphql-go-tools/pkg/fastbuffer" ) type _fakeDataSource struct { diff --git a/pkg/engine/resolve/stream_test.go b/pkg/engine/resolve/stream_test.go index 5ff89f7b3..1bb4514c3 100644 --- a/pkg/engine/resolve/stream_test.go +++ b/pkg/engine/resolve/stream_test.go @@ -8,7 +8,7 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) func TestArrayStream(t *testing.T) { @@ -342,10 +342,10 @@ func TestStreamAndDefer(t *testing.T) { InputTemplate: InputTemplate{ Segments: []TemplateSegment{ { - SegmentType: VariableSegmentType, - VariableKind: ObjectVariableKind, - VariableSourcePath: []string{"id"}, - Renderer: NewGraphQLVariableRenderer(`{"type":"number"}`), + SegmentType: VariableSegmentType, + VariableKind: ObjectVariableKind, + VariableSourcePath: []string{"id"}, + Renderer: NewGraphQLVariableRenderer(`{"type":"number"}`), }, }, }, diff --git a/pkg/engine/resolve/variable.go b/pkg/engine/resolve/variable.go index 9f2f96426..4b50e5b1f 100644 --- a/pkg/engine/resolve/variable.go +++ b/pkg/engine/resolve/variable.go @@ -9,9 +9,9 @@ import ( "github.com/buger/jsonparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/graphqljsonschema" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/graphqljsonschema" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type VariableKind int diff --git a/pkg/execution/datasource/datasource.go b/pkg/execution/datasource/datasource.go index ed1eece10..97730cfb5 100644 --- a/pkg/execution/datasource/datasource.go +++ b/pkg/execution/datasource/datasource.go @@ -12,10 +12,10 @@ import ( "github.com/jensneuse/abstractlogger" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) var RootTypeName = []byte("root_type_name") diff --git a/pkg/execution/datasource/datasource_graphql.go b/pkg/execution/datasource/datasource_graphql.go index f3303a7ba..eb6df751e 100644 --- a/pkg/execution/datasource/datasource_graphql.go +++ b/pkg/execution/datasource/datasource_graphql.go @@ -12,11 +12,11 @@ import ( "github.com/cespare/xxhash/v2" log "github.com/jensneuse/abstractlogger" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astimport" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astimport" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) var graphqlSchemes = []string{ diff --git a/pkg/execution/datasource/datasource_http_json.go b/pkg/execution/datasource/datasource_http_json.go index cb675fb55..d8a18f6f4 100644 --- a/pkg/execution/datasource/datasource_http_json.go +++ b/pkg/execution/datasource/datasource_http_json.go @@ -15,9 +15,9 @@ import ( "github.com/tidwall/gjson" "github.com/tidwall/sjson" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) var httpJsonSchemes = []string{ diff --git a/pkg/execution/datasource/datasource_http_polling_stream.go b/pkg/execution/datasource/datasource_http_polling_stream.go index f7aa53600..1b0009a14 100644 --- a/pkg/execution/datasource/datasource_http_polling_stream.go +++ b/pkg/execution/datasource/datasource_http_polling_stream.go @@ -14,8 +14,8 @@ import ( log "github.com/jensneuse/abstractlogger" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type HttpPollingStreamDataSourceConfiguration struct { diff --git a/pkg/execution/datasource/datasource_mqtt.go b/pkg/execution/datasource/datasource_mqtt.go index c60a26fec..911d3986b 100644 --- a/pkg/execution/datasource/datasource_mqtt.go +++ b/pkg/execution/datasource/datasource_mqtt.go @@ -10,8 +10,8 @@ import ( mqtt "github.com/eclipse/paho.mqtt.golang" log "github.com/jensneuse/abstractlogger" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type MQTTDataSourceConfig struct { diff --git a/pkg/execution/datasource/datasource_nats.go b/pkg/execution/datasource/datasource_nats.go index 28c455d9f..61a74cb87 100644 --- a/pkg/execution/datasource/datasource_nats.go +++ b/pkg/execution/datasource/datasource_nats.go @@ -10,7 +10,7 @@ import ( log "github.com/jensneuse/abstractlogger" "github.com/nats-io/nats.go" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type NatsDataSourceConfig struct { diff --git a/pkg/execution/datasource/datasource_pipeline.go b/pkg/execution/datasource/datasource_pipeline.go index fef449601..74deaf6ed 100644 --- a/pkg/execution/datasource/datasource_pipeline.go +++ b/pkg/execution/datasource/datasource_pipeline.go @@ -10,8 +10,8 @@ import ( log "github.com/jensneuse/abstractlogger" "github.com/jensneuse/pipeline/pkg/pipe" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type PipelineDataSourceConfig struct { diff --git a/pkg/execution/datasource/datasource_schema.go b/pkg/execution/datasource/datasource_schema.go index ba28ab477..22bb2c88d 100644 --- a/pkg/execution/datasource/datasource_schema.go +++ b/pkg/execution/datasource/datasource_schema.go @@ -5,8 +5,8 @@ import ( "encoding/json" "io" - "github.com/jensneuse/graphql-go-tools/pkg/introspection" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/introspection" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type SchemaDataSourcePlannerConfig struct { diff --git a/pkg/execution/datasource_config.go b/pkg/execution/datasource_config.go index 32daa306e..c6d40334d 100644 --- a/pkg/execution/datasource_config.go +++ b/pkg/execution/datasource_config.go @@ -1,7 +1,7 @@ // Code generated by graphql-go-tools gen, DO NOT EDIT. package execution -import ast "github.com/jensneuse/graphql-go-tools/pkg/ast" +import ast "github.com/wundergraph/graphql-go-tools/pkg/ast" type GraphQLDataSourceConfig struct { Host string diff --git a/pkg/execution/datasource_graphql_test.go b/pkg/execution/datasource_graphql_test.go index c8944c007..3b0b8e9be 100644 --- a/pkg/execution/datasource_graphql_test.go +++ b/pkg/execution/datasource_graphql_test.go @@ -13,10 +13,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type preSendHttpHookFunc func(ctx datasource.HookContext, req *http.Request) diff --git a/pkg/execution/datasource_http_json_test.go b/pkg/execution/datasource_http_json_test.go index 916a1972e..7f869a6ee 100644 --- a/pkg/execution/datasource_http_json_test.go +++ b/pkg/execution/datasource_http_json_test.go @@ -15,12 +15,12 @@ import ( "github.com/stretchr/testify/require" "github.com/tidwall/gjson" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) const httpJsonDataSourceSchema = ` diff --git a/pkg/execution/datasource_pipeline_test.go b/pkg/execution/datasource_pipeline_test.go index a2f22e74a..1f21aebf7 100644 --- a/pkg/execution/datasource_pipeline_test.go +++ b/pkg/execution/datasource_pipeline_test.go @@ -8,8 +8,8 @@ import ( log "github.com/jensneuse/abstractlogger" "github.com/jensneuse/pipeline/pkg/pipe" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) func TestPipelineDataSource_Resolve(t *testing.T) { diff --git a/pkg/execution/execution.go b/pkg/execution/execution.go index 93f465c1e..a76004387 100644 --- a/pkg/execution/execution.go +++ b/pkg/execution/execution.go @@ -18,11 +18,11 @@ import ( byte_template "github.com/jensneuse/byte-template" "github.com/tidwall/gjson" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/runes" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/runes" ) type Executor struct { diff --git a/pkg/execution/execution_test.go b/pkg/execution/execution_test.go index d0f6abfaf..621a70928 100644 --- a/pkg/execution/execution_test.go +++ b/pkg/execution/execution_test.go @@ -18,11 +18,11 @@ import ( "github.com/sebdah/goldie" "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" - "github.com/jensneuse/graphql-go-tools/pkg/introspection" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/introspection" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) // nolint diff --git a/pkg/execution/handler.go b/pkg/execution/handler.go index d41f8a573..5bcc33103 100644 --- a/pkg/execution/handler.go +++ b/pkg/execution/handler.go @@ -9,10 +9,10 @@ import ( "github.com/cespare/xxhash/v2" byte_template "github.com/jensneuse/byte-template" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astvalidation" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/astvalidation" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" ) type Handler struct { diff --git a/pkg/execution/handler_test.go b/pkg/execution/handler_test.go index 8bb57e2ba..1c145523d 100644 --- a/pkg/execution/handler_test.go +++ b/pkg/execution/handler_test.go @@ -6,7 +6,7 @@ import ( "github.com/cespare/xxhash/v2" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" ) func TestHandler_VariablesFromRequest(t *testing.T) { diff --git a/pkg/execution/jsonvaluetype.go b/pkg/execution/jsonvaluetype.go index 14a1b5caf..0204716e0 100644 --- a/pkg/execution/jsonvaluetype.go +++ b/pkg/execution/jsonvaluetype.go @@ -7,8 +7,8 @@ import ( "io" "strconv" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type JSONValueType int diff --git a/pkg/execution/planning.go b/pkg/execution/planning.go index dac22374c..448ae2dab 100644 --- a/pkg/execution/planning.go +++ b/pkg/execution/planning.go @@ -7,12 +7,12 @@ import ( "github.com/jensneuse/pipeline/pkg/pipe" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type Planner struct { diff --git a/pkg/execution/planning_test.go b/pkg/execution/planning_test.go index 71de8126f..3f7ec12cd 100644 --- a/pkg/execution/planning_test.go +++ b/pkg/execution/planning_test.go @@ -16,13 +16,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func init() { diff --git a/pkg/execution/transformation_test.go b/pkg/execution/transformation_test.go index 87a949c64..ee3e9f3d8 100644 --- a/pkg/execution/transformation_test.go +++ b/pkg/execution/transformation_test.go @@ -9,8 +9,8 @@ import ( "github.com/jensneuse/pipeline/pkg/pipe" "github.com/jensneuse/pipeline/pkg/step" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" ) func TestExecution_With_Transformation(t *testing.T) { diff --git a/pkg/federation/schema.go b/pkg/federation/schema.go index b1bc47094..07c6f29c0 100644 --- a/pkg/federation/schema.go +++ b/pkg/federation/schema.go @@ -4,12 +4,12 @@ import ( "fmt" "strings" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/federation/sdlmerge" - "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/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/federation/sdlmerge" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func BuildBaseSchemaDocument(serviceSDLs ...string) (string, error) { diff --git a/pkg/federation/sdlmerge/interface_type_extending.go b/pkg/federation/sdlmerge/interface_type_extending.go index 6180fb413..211d3285e 100644 --- a/pkg/federation/sdlmerge/interface_type_extending.go +++ b/pkg/federation/sdlmerge/interface_type_extending.go @@ -1,8 +1,8 @@ package sdlmerge import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func newExtendInterfaceTypeDefinition() *extendInterfaceTypeDefinitionVisitor { diff --git a/pkg/federation/sdlmerge/object_type_extending.go b/pkg/federation/sdlmerge/object_type_extending.go index 41155a338..71223c9ba 100644 --- a/pkg/federation/sdlmerge/object_type_extending.go +++ b/pkg/federation/sdlmerge/object_type_extending.go @@ -1,8 +1,8 @@ package sdlmerge import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func newExtendObjectTypeDefinition() *extendObjectTypeDefinitionVisitor { diff --git a/pkg/federation/sdlmerge/remove_empty_object_type_definition.go b/pkg/federation/sdlmerge/remove_empty_object_type_definition.go index 0676087c1..cc32f7fdb 100644 --- a/pkg/federation/sdlmerge/remove_empty_object_type_definition.go +++ b/pkg/federation/sdlmerge/remove_empty_object_type_definition.go @@ -1,8 +1,8 @@ package sdlmerge import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func newRemoveEmptyObjectTypeDefinition() *removeEmptyObjectTypeDefinition { diff --git a/pkg/federation/sdlmerge/remove_field_definition_by_directive.go b/pkg/federation/sdlmerge/remove_field_definition_by_directive.go index ccc6f2239..8d707746e 100644 --- a/pkg/federation/sdlmerge/remove_field_definition_by_directive.go +++ b/pkg/federation/sdlmerge/remove_field_definition_by_directive.go @@ -1,8 +1,8 @@ package sdlmerge import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func newRemoveFieldDefinitions(directives ...string) *removeFieldDefinitionByDirective { diff --git a/pkg/federation/sdlmerge/remove_field_definition_directive.go b/pkg/federation/sdlmerge/remove_field_definition_directive.go index 6b68643b7..fb74dcbfa 100644 --- a/pkg/federation/sdlmerge/remove_field_definition_directive.go +++ b/pkg/federation/sdlmerge/remove_field_definition_directive.go @@ -1,8 +1,8 @@ package sdlmerge import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func newRemoveFieldDefinitionDirective(directives ...string) *removeFieldDefinitionDirective { diff --git a/pkg/federation/sdlmerge/remove_interface_definition_directive.go b/pkg/federation/sdlmerge/remove_interface_definition_directive.go index 4d86e127a..0bc741d03 100644 --- a/pkg/federation/sdlmerge/remove_interface_definition_directive.go +++ b/pkg/federation/sdlmerge/remove_interface_definition_directive.go @@ -1,8 +1,8 @@ package sdlmerge import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func newRemoveInterfaceDefinitionDirective(directives ...string) *removeInterfaceDefinitionDirective { diff --git a/pkg/federation/sdlmerge/remove_object_type_definition_directive.go b/pkg/federation/sdlmerge/remove_object_type_definition_directive.go index 4fe8196d4..676fe1c44 100644 --- a/pkg/federation/sdlmerge/remove_object_type_definition_directive.go +++ b/pkg/federation/sdlmerge/remove_object_type_definition_directive.go @@ -1,8 +1,8 @@ package sdlmerge import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func newRemoveObjectTypeDefinitionDirective(directives ...string) *removeObjectTypeDefinitionDirective { diff --git a/pkg/federation/sdlmerge/remove_type_extensions.go b/pkg/federation/sdlmerge/remove_type_extensions.go index d6fe8ed8c..d4a6b5dcf 100644 --- a/pkg/federation/sdlmerge/remove_type_extensions.go +++ b/pkg/federation/sdlmerge/remove_type_extensions.go @@ -1,8 +1,8 @@ package sdlmerge import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func newRemoveMergedTypeExtensions() *removeMergedTypeExtensionsVisitor { diff --git a/pkg/federation/sdlmerge/sdlmerge.go b/pkg/federation/sdlmerge/sdlmerge.go index dd01768e6..aaa0f7773 100644 --- a/pkg/federation/sdlmerge/sdlmerge.go +++ b/pkg/federation/sdlmerge/sdlmerge.go @@ -4,12 +4,12 @@ import ( "fmt" "strings" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) const rootOperationTypeDefinitions = ` diff --git a/pkg/federation/sdlmerge/sdlmerge_test.go b/pkg/federation/sdlmerge/sdlmerge_test.go index 24d95a87e..6aab0f04c 100644 --- a/pkg/federation/sdlmerge/sdlmerge_test.go +++ b/pkg/federation/sdlmerge/sdlmerge_test.go @@ -5,10 +5,10 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type composeVisitor []Visitor diff --git a/pkg/federation/sdlmerge/union_type_extending.go b/pkg/federation/sdlmerge/union_type_extending.go index 90adaeb7b..1ae8d5fe5 100644 --- a/pkg/federation/sdlmerge/union_type_extending.go +++ b/pkg/federation/sdlmerge/union_type_extending.go @@ -1,8 +1,8 @@ package sdlmerge import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" ) func newExtendUnionTypeDefinition() *extendUnionTypeDefinitionVisitor { diff --git a/pkg/graphql/complexity.go b/pkg/graphql/complexity.go index f258c8e65..7b2e275ee 100644 --- a/pkg/graphql/complexity.go +++ b/pkg/graphql/complexity.go @@ -1,9 +1,9 @@ package graphql import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/middleware/operation_complexity" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/middleware/operation_complexity" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) var DefaultComplexityCalculator = defaultComplexityCalculator{} diff --git a/pkg/graphql/config_factory_federation.go b/pkg/graphql/config_factory_federation.go index 202641adf..a721d8749 100644 --- a/pkg/graphql/config_factory_federation.go +++ b/pkg/graphql/config_factory_federation.go @@ -5,11 +5,11 @@ import ( "net/http" "time" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - graphqlDataSource "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/graphql_datasource" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/federation" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + graphqlDataSource "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/graphql_datasource" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/federation" ) type federationEngineConfigFactoryOptions struct { diff --git a/pkg/graphql/config_factory_federation_test.go b/pkg/graphql/config_factory_federation_test.go index 38ab9d90b..e0d0beede 100644 --- a/pkg/graphql/config_factory_federation_test.go +++ b/pkg/graphql/config_factory_federation_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - graphqlDataSource "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/graphql_datasource" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + graphqlDataSource "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/graphql_datasource" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" ) func TestEngineConfigV2Factory_EngineV2Configuration(t *testing.T) { diff --git a/pkg/graphql/config_factory_proxy.go b/pkg/graphql/config_factory_proxy.go index ffccbf20f..5a447d560 100644 --- a/pkg/graphql/config_factory_proxy.go +++ b/pkg/graphql/config_factory_proxy.go @@ -4,9 +4,9 @@ import ( "net/http" "time" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - graphqlDataSource "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/graphql_datasource" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + graphqlDataSource "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/graphql_datasource" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" ) type proxyEngineConfigFactoryOptions struct { diff --git a/pkg/graphql/config_factory_proxy_test.go b/pkg/graphql/config_factory_proxy_test.go index d2af68177..156c815cf 100644 --- a/pkg/graphql/config_factory_proxy_test.go +++ b/pkg/graphql/config_factory_proxy_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - graphqlDataSource "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/graphql_datasource" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" + graphqlDataSource "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/graphql_datasource" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" ) func TestProxyEngineConfigFactory_EngineV2Configuration(t *testing.T) { diff --git a/pkg/graphql/engine_config_v2.go b/pkg/graphql/engine_config_v2.go index 001926f92..9570cb40f 100644 --- a/pkg/graphql/engine_config_v2.go +++ b/pkg/graphql/engine_config_v2.go @@ -3,10 +3,10 @@ package graphql import ( "net/http" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - graphqlDataSource "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/graphql_datasource" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + graphqlDataSource "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/graphql_datasource" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" ) const ( diff --git a/pkg/graphql/engine_config_v2_test.go b/pkg/graphql/engine_config_v2_test.go index 92b5e1547..90fa76c0a 100644 --- a/pkg/graphql/engine_config_v2_test.go +++ b/pkg/graphql/engine_config_v2_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - graphqlDataSource "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/graphql_datasource" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + graphqlDataSource "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/graphql_datasource" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" ) func TestNewEngineV2Configuration(t *testing.T) { diff --git a/pkg/graphql/errors.go b/pkg/graphql/errors.go index 840f5119a..95496dbd6 100644 --- a/pkg/graphql/errors.go +++ b/pkg/graphql/errors.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/graphqlerrors" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/graphqlerrors" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type Errors interface { diff --git a/pkg/graphql/errors_test.go b/pkg/graphql/errors_test.go index 68423f018..ed1f8b968 100644 --- a/pkg/graphql/errors_test.go +++ b/pkg/graphql/errors_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/graphqlerrors" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/graphqlerrors" ) func TestOperationValidationErrors_Error(t *testing.T) { diff --git a/pkg/graphql/execution_engine.go b/pkg/graphql/execution_engine.go index a4d7c72f6..04a163ed0 100644 --- a/pkg/graphql/execution_engine.go +++ b/pkg/graphql/execution_engine.go @@ -11,9 +11,9 @@ import ( "github.com/jensneuse/abstractlogger" - "github.com/jensneuse/graphql-go-tools/pkg/execution" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/execution" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type DataSourceHttpJsonOptions struct { diff --git a/pkg/graphql/execution_engine_test.go b/pkg/graphql/execution_engine_test.go index 05413ad12..60779500e 100644 --- a/pkg/graphql/execution_engine_test.go +++ b/pkg/graphql/execution_engine_test.go @@ -14,8 +14,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" - "github.com/jensneuse/graphql-go-tools/pkg/starwars" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/starwars" ) type testRoundTripper func(req *http.Request) *http.Response diff --git a/pkg/graphql/execution_engine_v2.go b/pkg/graphql/execution_engine_v2.go index 7347a1437..36e0f0a77 100644 --- a/pkg/graphql/execution_engine_v2.go +++ b/pkg/graphql/execution_engine_v2.go @@ -13,16 +13,16 @@ import ( lru "github.com/hashicorp/golang-lru" "github.com/jensneuse/abstractlogger" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/introspection_datasource" - - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/httpclient" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" - "github.com/jensneuse/graphql-go-tools/pkg/pool" - "github.com/jensneuse/graphql-go-tools/pkg/postprocess" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/introspection_datasource" + + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/httpclient" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/pool" + "github.com/wundergraph/graphql-go-tools/pkg/postprocess" ) type EngineResultWriter struct { diff --git a/pkg/graphql/execution_engine_v2_test.go b/pkg/graphql/execution_engine_v2_test.go index 50071a5a7..ebf5c195f 100644 --- a/pkg/graphql/execution_engine_v2_test.go +++ b/pkg/graphql/execution_engine_v2_test.go @@ -16,18 +16,18 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - federationExample "github.com/jensneuse/graphql-go-tools/examples/federation" - accounts "github.com/jensneuse/graphql-go-tools/examples/federation/accounts/graph" - products "github.com/jensneuse/graphql-go-tools/examples/federation/products/graph" - reviews "github.com/jensneuse/graphql-go-tools/examples/federation/reviews/graph" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/graphql_datasource" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/httpclient" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/rest_datasource" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/staticdatasource" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" - "github.com/jensneuse/graphql-go-tools/pkg/starwars" + federationExample "github.com/wundergraph/graphql-go-tools/examples/federation" + accounts "github.com/wundergraph/graphql-go-tools/examples/federation/accounts/graph" + products "github.com/wundergraph/graphql-go-tools/examples/federation/products/graph" + reviews "github.com/wundergraph/graphql-go-tools/examples/federation/reviews/graph" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/graphql_datasource" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/httpclient" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/rest_datasource" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/staticdatasource" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/starwars" ) func TestEngineResponseWriter_AsHTTPResponse(t *testing.T) { diff --git a/pkg/graphql/extractor.go b/pkg/graphql/extractor.go index ff2ad20d3..7d8f73b9b 100644 --- a/pkg/graphql/extractor.go +++ b/pkg/graphql/extractor.go @@ -1,9 +1,9 @@ package graphql import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type Extractor struct { diff --git a/pkg/graphql/extractor_test.go b/pkg/graphql/extractor_test.go index caab821ca..dd9462b77 100644 --- a/pkg/graphql/extractor_test.go +++ b/pkg/graphql/extractor_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func TestExtractor_ExtractFieldsFromRequest(t *testing.T) { diff --git a/pkg/graphql/federationtesting/accounts/gqlgen.yml b/pkg/graphql/federationtesting/accounts/gqlgen.yml index 2447af921..8c4c73cf1 100644 --- a/pkg/graphql/federationtesting/accounts/gqlgen.yml +++ b/pkg/graphql/federationtesting/accounts/gqlgen.yml @@ -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/pkg/graphql/federationtesting/accounts/graph/model" + - "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/model" # This section declares type mapping between the GraphQL and go type systems # diff --git a/pkg/graphql/federationtesting/accounts/graph/entity.resolvers.go b/pkg/graphql/federationtesting/accounts/graph/entity.resolvers.go index 91537129a..668c35292 100644 --- a/pkg/graphql/federationtesting/accounts/graph/entity.resolvers.go +++ b/pkg/graphql/federationtesting/accounts/graph/entity.resolvers.go @@ -6,8 +6,8 @@ package graph import ( "context" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/generated" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/model" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/generated" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/model" ) func (r *entityResolver) FindUserByID(ctx context.Context, id string) (*model.User, error) { diff --git a/pkg/graphql/federationtesting/accounts/graph/generated/generated.go b/pkg/graphql/federationtesting/accounts/graph/generated/generated.go index 74389418b..566f62ccc 100644 --- a/pkg/graphql/federationtesting/accounts/graph/generated/generated.go +++ b/pkg/graphql/federationtesting/accounts/graph/generated/generated.go @@ -14,9 +14,9 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/introspection" "github.com/99designs/gqlgen/plugin/federation/fedruntime" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/model" gqlparser "github.com/vektah/gqlparser/v2" "github.com/vektah/gqlparser/v2/ast" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/model" ) // region ************************** generated!.gotpl ************************** diff --git a/pkg/graphql/federationtesting/accounts/graph/handler.go b/pkg/graphql/federationtesting/accounts/graph/handler.go index 85719b8d1..4dc2ae5b5 100644 --- a/pkg/graphql/federationtesting/accounts/graph/handler.go +++ b/pkg/graphql/federationtesting/accounts/graph/handler.go @@ -6,7 +6,7 @@ import ( "github.com/99designs/gqlgen/graphql/handler" "github.com/99designs/gqlgen/graphql/handler/debug" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/generated" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/generated" ) type EndpointOptions struct { diff --git a/pkg/graphql/federationtesting/accounts/graph/histories.go b/pkg/graphql/federationtesting/accounts/graph/histories.go index 7c16734b6..d9a64028d 100644 --- a/pkg/graphql/federationtesting/accounts/graph/histories.go +++ b/pkg/graphql/federationtesting/accounts/graph/histories.go @@ -1,7 +1,7 @@ package graph import ( - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/model" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/model" ) var histories = []model.History{ diff --git a/pkg/graphql/federationtesting/accounts/graph/schema.resolvers.go b/pkg/graphql/federationtesting/accounts/graph/schema.resolvers.go index cc0959b22..ca2714392 100644 --- a/pkg/graphql/federationtesting/accounts/graph/schema.resolvers.go +++ b/pkg/graphql/federationtesting/accounts/graph/schema.resolvers.go @@ -6,8 +6,8 @@ package graph import ( "context" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/generated" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/model" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/generated" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph/model" ) func (r *queryResolver) Me(ctx context.Context) (*model.User, error) { diff --git a/pkg/graphql/federationtesting/accounts/handler.go b/pkg/graphql/federationtesting/accounts/handler.go index c7d7c6ce9..0064020af 100644 --- a/pkg/graphql/federationtesting/accounts/handler.go +++ b/pkg/graphql/federationtesting/accounts/handler.go @@ -4,7 +4,7 @@ package accounts import ( "net/http" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/accounts/graph" ) func Handler() http.Handler { diff --git a/pkg/graphql/federationtesting/federation_intergation_test.go b/pkg/graphql/federationtesting/federation_intergation_test.go index fc1e01a5b..00f1ab6aa 100644 --- a/pkg/graphql/federationtesting/federation_intergation_test.go +++ b/pkg/graphql/federationtesting/federation_intergation_test.go @@ -13,10 +13,10 @@ import ( "github.com/jensneuse/abstractlogger" "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/accounts" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/gateway" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/products" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/reviews" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/accounts" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/gateway" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/products" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/reviews" ) func newFederationSetup() *federationSetup { diff --git a/pkg/graphql/federationtesting/gateway/datasource_poller.go b/pkg/graphql/federationtesting/gateway/datasource_poller.go index b1531738d..b2156d440 100644 --- a/pkg/graphql/federationtesting/gateway/datasource_poller.go +++ b/pkg/graphql/federationtesting/gateway/datasource_poller.go @@ -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 { diff --git a/pkg/graphql/federationtesting/gateway/gateway.go b/pkg/graphql/federationtesting/gateway/gateway.go index 3b8791199..8d20ae3de 100644 --- a/pkg/graphql/federationtesting/gateway/gateway.go +++ b/pkg/graphql/federationtesting/gateway/gateway.go @@ -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 { diff --git a/pkg/graphql/federationtesting/gateway/http/handler.go b/pkg/graphql/federationtesting/gateway/http/handler.go index 999c8a9fe..a76b70789 100644 --- a/pkg/graphql/federationtesting/gateway/http/handler.go +++ b/pkg/graphql/federationtesting/gateway/http/handler.go @@ -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 ( diff --git a/pkg/graphql/federationtesting/gateway/http/http.go b/pkg/graphql/federationtesting/gateway/http/http.go index b9e358559..a29a4091c 100644 --- a/pkg/graphql/federationtesting/gateway/http/http.go +++ b/pkg/graphql/federationtesting/gateway/http/http.go @@ -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 ( diff --git a/pkg/graphql/federationtesting/gateway/http/ws.go b/pkg/graphql/federationtesting/gateway/http/ws.go index e4f41bfd3..241c4d0bd 100644 --- a/pkg/graphql/federationtesting/gateway/http/ws.go +++ b/pkg/graphql/federationtesting/gateway/http/ws.go @@ -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. diff --git a/pkg/graphql/federationtesting/gateway/main.go b/pkg/graphql/federationtesting/gateway/main.go index 7c5217ec9..11a335aa6 100644 --- a/pkg/graphql/federationtesting/gateway/main.go +++ b/pkg/graphql/federationtesting/gateway/main.go @@ -7,8 +7,8 @@ import ( "github.com/gobwas/ws" log "github.com/jensneuse/abstractlogger" - "github.com/jensneuse/graphql-go-tools/pkg/graphql" - http2 "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/gateway/http" + "github.com/wundergraph/graphql-go-tools/pkg/graphql" + http2 "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/gateway/http" ) func NewDatasource(serviceConfig []ServiceConfig, httpClient *http.Client) *DatasourcePollerPoller { diff --git a/pkg/graphql/federationtesting/graphql_client_test.go b/pkg/graphql/federationtesting/graphql_client_test.go index ffc441174..8bb6f53e3 100644 --- a/pkg/graphql/federationtesting/graphql_client_test.go +++ b/pkg/graphql/federationtesting/graphql_client_test.go @@ -14,8 +14,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/graphql" - "github.com/jensneuse/graphql-go-tools/pkg/subscription" + "github.com/wundergraph/graphql-go-tools/pkg/graphql" + "github.com/wundergraph/graphql-go-tools/pkg/subscription" ) type queryVariables map[string]interface{} diff --git a/pkg/graphql/federationtesting/products/gqlgen.yml b/pkg/graphql/federationtesting/products/gqlgen.yml index 4d184effd..2a2406985 100644 --- a/pkg/graphql/federationtesting/products/gqlgen.yml +++ b/pkg/graphql/federationtesting/products/gqlgen.yml @@ -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/pkg/graphql/federationtesting/products/graph/model" + - "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/products/graph/model" # This section declares type mapping between the GraphQL and go type systems # diff --git a/pkg/graphql/federationtesting/products/graph/entity.resolvers.go b/pkg/graphql/federationtesting/products/graph/entity.resolvers.go index b35038876..166340f8d 100644 --- a/pkg/graphql/federationtesting/products/graph/entity.resolvers.go +++ b/pkg/graphql/federationtesting/products/graph/entity.resolvers.go @@ -6,8 +6,8 @@ package graph import ( "context" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/products/graph/generated" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/products/graph/model" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/products/graph/generated" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/products/graph/model" ) func (r *entityResolver) FindProductByUpc(ctx context.Context, upc string) (*model.Product, error) { diff --git a/pkg/graphql/federationtesting/products/graph/generated/generated.go b/pkg/graphql/federationtesting/products/graph/generated/generated.go index df7182425..6c3edf963 100644 --- a/pkg/graphql/federationtesting/products/graph/generated/generated.go +++ b/pkg/graphql/federationtesting/products/graph/generated/generated.go @@ -15,9 +15,9 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/introspection" "github.com/99designs/gqlgen/plugin/federation/fedruntime" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/products/graph/model" gqlparser "github.com/vektah/gqlparser/v2" "github.com/vektah/gqlparser/v2/ast" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/products/graph/model" ) // region ************************** generated!.gotpl ************************** diff --git a/pkg/graphql/federationtesting/products/graph/handler.go b/pkg/graphql/federationtesting/products/graph/handler.go index 75e12a9d9..175037ca1 100644 --- a/pkg/graphql/federationtesting/products/graph/handler.go +++ b/pkg/graphql/federationtesting/products/graph/handler.go @@ -13,7 +13,7 @@ import ( "github.com/gorilla/websocket" "go.uber.org/atomic" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/products/graph/generated" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/products/graph/generated" ) var websocketConnections atomic.Uint32 diff --git a/pkg/graphql/federationtesting/products/graph/products.go b/pkg/graphql/federationtesting/products/graph/products.go index 31575cbb4..7e69a2bd0 100644 --- a/pkg/graphql/federationtesting/products/graph/products.go +++ b/pkg/graphql/federationtesting/products/graph/products.go @@ -1,6 +1,6 @@ package graph -import "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/products/graph/model" +import "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/products/graph/model" var hats = []*model.Product{ { diff --git a/pkg/graphql/federationtesting/products/graph/schema.resolvers.go b/pkg/graphql/federationtesting/products/graph/schema.resolvers.go index 4d75714bf..a79511399 100644 --- a/pkg/graphql/federationtesting/products/graph/schema.resolvers.go +++ b/pkg/graphql/federationtesting/products/graph/schema.resolvers.go @@ -8,8 +8,8 @@ import ( "fmt" "time" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/products/graph/generated" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/products/graph/model" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/products/graph/generated" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/products/graph/model" ) func (r *queryResolver) TopProducts(ctx context.Context, first *int) ([]*model.Product, error) { diff --git a/pkg/graphql/federationtesting/products/handler.go b/pkg/graphql/federationtesting/products/handler.go index 45e3e0e0c..59b0f2fa8 100644 --- a/pkg/graphql/federationtesting/products/handler.go +++ b/pkg/graphql/federationtesting/products/handler.go @@ -4,7 +4,7 @@ package products import ( "net/http" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/products/graph" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/products/graph" ) func Handler() http.Handler { diff --git a/pkg/graphql/federationtesting/reviews/gqlgen.yml b/pkg/graphql/federationtesting/reviews/gqlgen.yml index f6f8437fc..19f9f95f5 100644 --- a/pkg/graphql/federationtesting/reviews/gqlgen.yml +++ b/pkg/graphql/federationtesting/reviews/gqlgen.yml @@ -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/pkg/graphql/federationtesting/reviews/graph/model" + - "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/model" # This section declares type mapping between the GraphQL and go type systems # diff --git a/pkg/graphql/federationtesting/reviews/graph/entity.resolvers.go b/pkg/graphql/federationtesting/reviews/graph/entity.resolvers.go index 9ea38b31b..6ee13d0fd 100644 --- a/pkg/graphql/federationtesting/reviews/graph/entity.resolvers.go +++ b/pkg/graphql/federationtesting/reviews/graph/entity.resolvers.go @@ -6,8 +6,8 @@ package graph import ( "context" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/generated" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/model" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/generated" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/model" ) func (r *entityResolver) FindProductByUpc(ctx context.Context, upc string) (*model.Product, error) { diff --git a/pkg/graphql/federationtesting/reviews/graph/generated/generated.go b/pkg/graphql/federationtesting/reviews/graph/generated/generated.go index af892f5c7..2fb1b4995 100644 --- a/pkg/graphql/federationtesting/reviews/graph/generated/generated.go +++ b/pkg/graphql/federationtesting/reviews/graph/generated/generated.go @@ -14,9 +14,9 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/introspection" "github.com/99designs/gqlgen/plugin/federation/fedruntime" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/model" gqlparser "github.com/vektah/gqlparser/v2" "github.com/vektah/gqlparser/v2/ast" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/model" ) // region ************************** generated!.gotpl ************************** diff --git a/pkg/graphql/federationtesting/reviews/graph/handler.go b/pkg/graphql/federationtesting/reviews/graph/handler.go index 8f54a9778..4d4ab1b8c 100644 --- a/pkg/graphql/federationtesting/reviews/graph/handler.go +++ b/pkg/graphql/federationtesting/reviews/graph/handler.go @@ -6,7 +6,7 @@ import ( "github.com/99designs/gqlgen/graphql/handler" "github.com/99designs/gqlgen/graphql/handler/debug" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/generated" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/generated" ) type EndpointOptions struct { diff --git a/pkg/graphql/federationtesting/reviews/graph/reviews.go b/pkg/graphql/federationtesting/reviews/graph/reviews.go index af099b4cd..54d2d0046 100644 --- a/pkg/graphql/federationtesting/reviews/graph/reviews.go +++ b/pkg/graphql/federationtesting/reviews/graph/reviews.go @@ -1,6 +1,6 @@ package graph -import "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/model" +import "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/model" var reviews = []*model.Review{ { diff --git a/pkg/graphql/federationtesting/reviews/graph/schema.resolvers.go b/pkg/graphql/federationtesting/reviews/graph/schema.resolvers.go index a435a3e87..ac8d4970b 100644 --- a/pkg/graphql/federationtesting/reviews/graph/schema.resolvers.go +++ b/pkg/graphql/federationtesting/reviews/graph/schema.resolvers.go @@ -6,8 +6,8 @@ package graph import ( "context" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/generated" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/model" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/generated" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph/model" ) func (r *mutationResolver) AddReview(ctx context.Context, authorID string, upc string, review string) (*model.Review, error) { diff --git a/pkg/graphql/federationtesting/reviews/handler.go b/pkg/graphql/federationtesting/reviews/handler.go index 69efdb577..5529150fe 100644 --- a/pkg/graphql/federationtesting/reviews/handler.go +++ b/pkg/graphql/federationtesting/reviews/handler.go @@ -4,7 +4,7 @@ package reviews import ( "net/http" - "github.com/jensneuse/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph" + "github.com/wundergraph/graphql-go-tools/pkg/graphql/federationtesting/reviews/graph" ) func Handler() http.Handler { diff --git a/pkg/graphql/normalization.go b/pkg/graphql/normalization.go index 7c59573c7..53fd96b4d 100644 --- a/pkg/graphql/normalization.go +++ b/pkg/graphql/normalization.go @@ -1,8 +1,8 @@ package graphql import ( - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type NormalizationResult struct { diff --git a/pkg/graphql/normalization_test.go b/pkg/graphql/normalization_test.go index 8f3b1f6dc..87aa81d25 100644 --- a/pkg/graphql/normalization_test.go +++ b/pkg/graphql/normalization_test.go @@ -4,11 +4,11 @@ import ( "errors" "testing" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeprinter" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" - "github.com/jensneuse/graphql-go-tools/pkg/starwars" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeprinter" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/starwars" ) func TestRequest_Normalize(t *testing.T) { diff --git a/pkg/graphql/request.go b/pkg/graphql/request.go index 34600b959..14cccfa75 100644 --- a/pkg/graphql/request.go +++ b/pkg/graphql/request.go @@ -7,11 +7,11 @@ import ( "io/ioutil" "net/http" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/middleware/operation_complexity" - "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/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/middleware/operation_complexity" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) const ( diff --git a/pkg/graphql/request_fields_validator.go b/pkg/graphql/request_fields_validator.go index 50948efa5..3d33ed6ca 100644 --- a/pkg/graphql/request_fields_validator.go +++ b/pkg/graphql/request_fields_validator.go @@ -3,7 +3,7 @@ package graphql import ( "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type RequestFieldsValidator interface { diff --git a/pkg/graphql/request_fields_validator_test.go b/pkg/graphql/request_fields_validator_test.go index 6b3545b1d..cff982101 100644 --- a/pkg/graphql/request_fields_validator_test.go +++ b/pkg/graphql/request_fields_validator_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/starwars" + "github.com/wundergraph/graphql-go-tools/pkg/starwars" ) func TestFieldsValidator_Validate(t *testing.T) { diff --git a/pkg/graphql/request_test.go b/pkg/graphql/request_test.go index c2216e310..2d2a43437 100644 --- a/pkg/graphql/request_test.go +++ b/pkg/graphql/request_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/starwars" + "github.com/wundergraph/graphql-go-tools/pkg/starwars" ) func TestUnmarshalRequest(t *testing.T) { diff --git a/pkg/graphql/schema.go b/pkg/graphql/schema.go index 4ff3fd194..32dc8ad3e 100644 --- a/pkg/graphql/schema.go +++ b/pkg/graphql/schema.go @@ -7,16 +7,16 @@ import ( "io/ioutil" "strings" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/astvalidation" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/introspection" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" - "github.com/jensneuse/graphql-go-tools/pkg/pool" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/astvalidation" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/introspection" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/pool" ) type TypeFields struct { diff --git a/pkg/graphql/schema_test.go b/pkg/graphql/schema_test.go index 8d5de7b25..870f69ab7 100644 --- a/pkg/graphql/schema_test.go +++ b/pkg/graphql/schema_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/asttransform" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/asttransform" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" ) func TestNewSchemaFromReader(t *testing.T) { diff --git a/pkg/graphql/starwars_helpers_test.go b/pkg/graphql/starwars_helpers_test.go index 9c76f7387..a89ad40e1 100644 --- a/pkg/graphql/starwars_helpers_test.go +++ b/pkg/graphql/starwars_helpers_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/starwars" + "github.com/wundergraph/graphql-go-tools/pkg/starwars" ) func starwarsSchema(t *testing.T) *Schema { diff --git a/pkg/graphql/validation.go b/pkg/graphql/validation.go index 5d44edf48..a56f0d97c 100644 --- a/pkg/graphql/validation.go +++ b/pkg/graphql/validation.go @@ -1,8 +1,8 @@ package graphql import ( - "github.com/jensneuse/graphql-go-tools/pkg/astvalidation" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/astvalidation" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type ValidationResult struct { diff --git a/pkg/graphql/validation_test.go b/pkg/graphql/validation_test.go index c6bce152d..fd8f059ca 100644 --- a/pkg/graphql/validation_test.go +++ b/pkg/graphql/validation_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" - "github.com/jensneuse/graphql-go-tools/pkg/starwars" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/starwars" ) func TestRequest_ValidateForSchema(t *testing.T) { diff --git a/pkg/graphqljsonschema/jsonschema.go b/pkg/graphqljsonschema/jsonschema.go index 69b2662fe..818d5a941 100644 --- a/pkg/graphqljsonschema/jsonschema.go +++ b/pkg/graphqljsonschema/jsonschema.go @@ -9,7 +9,7 @@ import ( "github.com/buger/jsonparser" "github.com/qri-io/jsonschema" - "github.com/jensneuse/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/ast" ) func FromTypeRef(operation, definition *ast.Document, typeRef int) JsonSchema { diff --git a/pkg/graphqljsonschema/jsonschema_test.go b/pkg/graphqljsonschema/jsonschema_test.go index f8e3b82fa..1a59f1b4e 100644 --- a/pkg/graphqljsonschema/jsonschema_test.go +++ b/pkg/graphqljsonschema/jsonschema_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" ) func runTest(schema, operation, expectedJsonSchema string, valid []string, invalid []string, overrides map[string]JsonSchema) func(t *testing.T) { diff --git a/pkg/http/handler.go b/pkg/http/handler.go index 12195d659..ff2a60766 100644 --- a/pkg/http/handler.go +++ b/pkg/http/handler.go @@ -8,7 +8,7 @@ import ( "github.com/gobwas/ws" log "github.com/jensneuse/abstractlogger" - "github.com/jensneuse/graphql-go-tools/pkg/execution" + "github.com/wundergraph/graphql-go-tools/pkg/execution" ) const ( diff --git a/pkg/http/handler_test.go b/pkg/http/handler_test.go index 031ae755f..ba930c727 100644 --- a/pkg/http/handler_test.go +++ b/pkg/http/handler_test.go @@ -17,8 +17,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/starwars" - "github.com/jensneuse/graphql-go-tools/pkg/subscription" + "github.com/wundergraph/graphql-go-tools/pkg/starwars" + "github.com/wundergraph/graphql-go-tools/pkg/subscription" ) func TestGraphQLHTTPRequestHandler_ServeHTTP(t *testing.T) { diff --git a/pkg/http/ws.go b/pkg/http/ws.go index 53e4820f4..0578500b1 100644 --- a/pkg/http/ws.go +++ b/pkg/http/ws.go @@ -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. diff --git a/pkg/http/ws_test.go b/pkg/http/ws_test.go index d8509890a..09292a838 100644 --- a/pkg/http/ws_test.go +++ b/pkg/http/ws_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/subscription" + "github.com/wundergraph/graphql-go-tools/pkg/subscription" ) func TestWebsocketSubscriptionClient_WriteToClient(t *testing.T) { diff --git a/pkg/imports/graphql_file.go b/pkg/imports/graphql_file.go index 7478587d6..c30710892 100644 --- a/pkg/imports/graphql_file.go +++ b/pkg/imports/graphql_file.go @@ -5,7 +5,7 @@ import ( "io" "os" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type GraphQLFile struct { diff --git a/pkg/introspection/converter.go b/pkg/introspection/converter.go index 907b88c0b..bea54b70c 100644 --- a/pkg/introspection/converter.go +++ b/pkg/introspection/converter.go @@ -6,10 +6,10 @@ import ( "io" "strings" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astimport" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astimport" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type JsonConverter struct { diff --git a/pkg/introspection/converter_test.go b/pkg/introspection/converter_test.go index 17656e85f..8054a1011 100644 --- a/pkg/introspection/converter_test.go +++ b/pkg/introspection/converter_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" + "github.com/wundergraph/graphql-go-tools/pkg/astprinter" ) func TestJSONConverter_GraphQLDocument(t *testing.T) { diff --git a/pkg/introspection/generator.go b/pkg/introspection/generator.go index ec0ab43dc..5ceac17ee 100644 --- a/pkg/introspection/generator.go +++ b/pkg/introspection/generator.go @@ -3,10 +3,10 @@ package introspection import ( "strings" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafebytes" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) const ( diff --git a/pkg/introspection/generator_test.go b/pkg/introspection/generator_test.go index edd1a4276..f44df9b4a 100644 --- a/pkg/introspection/generator_test.go +++ b/pkg/introspection/generator_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/jensneuse/diffview" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" "github.com/sebdah/goldie" + "github.com/wundergraph/graphql-go-tools/pkg/astparser" ) func TestGenerator_Generate(t *testing.T) { diff --git a/pkg/lexer/lexer.go b/pkg/lexer/lexer.go index 7b4304ca5..7b3c2f2af 100644 --- a/pkg/lexer/lexer.go +++ b/pkg/lexer/lexer.go @@ -2,10 +2,10 @@ package lexer import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/keyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/runes" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/token" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/keyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/runes" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/token" ) // Lexer emits tokens from a input reader diff --git a/pkg/lexer/lexer_test.go b/pkg/lexer/lexer_test.go index e3d013eef..db568235c 100644 --- a/pkg/lexer/lexer_test.go +++ b/pkg/lexer/lexer_test.go @@ -9,9 +9,9 @@ import ( "github.com/jensneuse/diffview" "github.com/sebdah/goldie" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/keyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/token" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/keyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/token" ) func TestLexer_Peek_Read(t *testing.T) { diff --git a/pkg/lexer/token/token.go b/pkg/lexer/token/token.go index ff3b39525..1982f6a5b 100644 --- a/pkg/lexer/token/token.go +++ b/pkg/lexer/token/token.go @@ -4,9 +4,9 @@ package token import ( "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/keyword" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/position" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/keyword" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/position" ) type Token struct { diff --git a/pkg/middleware/operation_complexity/operation_complexity.go b/pkg/middleware/operation_complexity/operation_complexity.go index dcc046db8..e801f2cc8 100644 --- a/pkg/middleware/operation_complexity/operation_complexity.go +++ b/pkg/middleware/operation_complexity/operation_complexity.go @@ -22,9 +22,9 @@ package operation_complexity import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type OperationStats struct { diff --git a/pkg/middleware/operation_complexity/operation_complexity_test.go b/pkg/middleware/operation_complexity/operation_complexity_test.go index edf669596..bd70eaf87 100644 --- a/pkg/middleware/operation_complexity/operation_complexity_test.go +++ b/pkg/middleware/operation_complexity/operation_complexity_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeparser" - "github.com/jensneuse/graphql-go-tools/pkg/astnormalization" - "github.com/jensneuse/graphql-go-tools/pkg/operationreport" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeparser" + "github.com/wundergraph/graphql-go-tools/pkg/astnormalization" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) func TestCalculateOperationComplexity(t *testing.T) { diff --git a/pkg/operationreport/externalerror.go b/pkg/operationreport/externalerror.go index 1bf84c2ec..be4632090 100644 --- a/pkg/operationreport/externalerror.go +++ b/pkg/operationreport/externalerror.go @@ -3,8 +3,8 @@ package operationreport import ( "fmt" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/graphqlerrors" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/graphqlerrors" ) type ExternalError struct { diff --git a/pkg/operationreport/externalerror_test.go b/pkg/operationreport/externalerror_test.go index 12814b03a..ade31677b 100644 --- a/pkg/operationreport/externalerror_test.go +++ b/pkg/operationreport/externalerror_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" "testing" - "github.com/jensneuse/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/ast" ) func TestPath_MarshalJSON(t *testing.T) { diff --git a/pkg/pool/fastbuffer.go b/pkg/pool/fastbuffer.go index 2e0a1bc85..fd036a1bb 100644 --- a/pkg/pool/fastbuffer.go +++ b/pkg/pool/fastbuffer.go @@ -3,7 +3,7 @@ package pool import ( "sync" - "github.com/jensneuse/graphql-go-tools/pkg/fastbuffer" + "github.com/wundergraph/graphql-go-tools/pkg/fastbuffer" ) var FastBuffer = fastBufferPool{ diff --git a/pkg/postprocess/datasourceinput.go b/pkg/postprocess/datasourceinput.go index ac97f090e..f5af01238 100644 --- a/pkg/postprocess/datasourceinput.go +++ b/pkg/postprocess/datasourceinput.go @@ -4,8 +4,8 @@ import ( "strconv" "strings" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" ) type ProcessDataSource struct{} diff --git a/pkg/postprocess/datasourceinput_test.go b/pkg/postprocess/datasourceinput_test.go index c3a377891..1287dfc58 100644 --- a/pkg/postprocess/datasourceinput_test.go +++ b/pkg/postprocess/datasourceinput_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" ) func TestDataSourceInput_Process(t *testing.T) { diff --git a/pkg/postprocess/defer.go b/pkg/postprocess/defer.go index 77696be61..952bb0388 100644 --- a/pkg/postprocess/defer.go +++ b/pkg/postprocess/defer.go @@ -1,9 +1,9 @@ package postprocess import ( - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type ProcessDefer struct { diff --git a/pkg/postprocess/defer_test.go b/pkg/postprocess/defer_test.go index 8cf0d5d16..fb8692bf0 100644 --- a/pkg/postprocess/defer_test.go +++ b/pkg/postprocess/defer_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) func TestProcessDefer_Process(t *testing.T) { diff --git a/pkg/postprocess/postprocess.go b/pkg/postprocess/postprocess.go index f814c055e..19b1d9a27 100644 --- a/pkg/postprocess/postprocess.go +++ b/pkg/postprocess/postprocess.go @@ -1,7 +1,7 @@ package postprocess import ( - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" ) type PostProcessor interface { diff --git a/pkg/postprocess/postprocess_test.go b/pkg/postprocess/postprocess_test.go index cb11cc3b0..8da84c9c3 100644 --- a/pkg/postprocess/postprocess_test.go +++ b/pkg/postprocess/postprocess_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) func TestDefaultProcessor_Process(t *testing.T) { diff --git a/pkg/postprocess/stream.go b/pkg/postprocess/stream.go index 478785d44..ab6d5ed8f 100644 --- a/pkg/postprocess/stream.go +++ b/pkg/postprocess/stream.go @@ -1,9 +1,9 @@ package postprocess import ( - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) type ProcessStream struct { diff --git a/pkg/postprocess/stream_test.go b/pkg/postprocess/stream_test.go index 133dc4ab4..cd0afe236 100644 --- a/pkg/postprocess/stream_test.go +++ b/pkg/postprocess/stream_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/lexer/literal" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/lexer/literal" ) func TestProcessStream_Process(t *testing.T) { diff --git a/pkg/repair/sdl.go b/pkg/repair/sdl.go index 49209c6e6..fbc03fa8d 100644 --- a/pkg/repair/sdl.go +++ b/pkg/repair/sdl.go @@ -1,11 +1,11 @@ package repair import ( - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/astparser" - "github.com/jensneuse/graphql-go-tools/pkg/astprinter" - "github.com/jensneuse/graphql-go-tools/pkg/astvisitor" - "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/astprinter" + "github.com/wundergraph/graphql-go-tools/pkg/astvisitor" + "github.com/wundergraph/graphql-go-tools/pkg/operationreport" ) type OptionsSDL struct { diff --git a/pkg/repair/sdl_test.go b/pkg/repair/sdl_test.go index 7a2046ee3..bb1b36654 100644 --- a/pkg/repair/sdl_test.go +++ b/pkg/repair/sdl_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/jensneuse/graphql-go-tools/internal/pkg/unsafeprinter" + "github.com/wundergraph/graphql-go-tools/internal/pkg/unsafeprinter" ) func TestSDL(t *testing.T) { diff --git a/pkg/starwars/starwars.go b/pkg/starwars/starwars.go index 32080ae35..9abf7b052 100644 --- a/pkg/starwars/starwars.go +++ b/pkg/starwars/starwars.go @@ -9,8 +9,8 @@ import ( "github.com/jensneuse/abstractlogger" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/pkg/execution" - "github.com/jensneuse/graphql-go-tools/pkg/execution/datasource" + "github.com/wundergraph/graphql-go-tools/pkg/execution" + "github.com/wundergraph/graphql-go-tools/pkg/execution/datasource" ) type QueryVariables map[string]interface{} diff --git a/pkg/subscription/executor_v1.go b/pkg/subscription/executor_v1.go index 15d836593..627617baa 100644 --- a/pkg/subscription/executor_v1.go +++ b/pkg/subscription/executor_v1.go @@ -4,9 +4,9 @@ import ( "context" "sync" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/execution" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/execution" ) type ExecutorV1Pool struct { diff --git a/pkg/subscription/executor_v2.go b/pkg/subscription/executor_v2.go index 98ae33a3d..5bfa2468f 100644 --- a/pkg/subscription/executor_v2.go +++ b/pkg/subscription/executor_v2.go @@ -5,9 +5,9 @@ import ( "context" "sync" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/graphql" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/graphql" ) // ExecutorV2Pool - provides reusable executors diff --git a/pkg/subscription/handler.go b/pkg/subscription/handler.go index 219bb95fa..c092c5764 100644 --- a/pkg/subscription/handler.go +++ b/pkg/subscription/handler.go @@ -9,9 +9,9 @@ import ( "github.com/jensneuse/abstractlogger" - "github.com/jensneuse/graphql-go-tools/pkg/ast" - "github.com/jensneuse/graphql-go-tools/pkg/engine/resolve" - "github.com/jensneuse/graphql-go-tools/pkg/graphql" + "github.com/wundergraph/graphql-go-tools/pkg/ast" + "github.com/wundergraph/graphql-go-tools/pkg/engine/resolve" + "github.com/wundergraph/graphql-go-tools/pkg/graphql" ) const ( diff --git a/pkg/subscription/handler_test.go b/pkg/subscription/handler_test.go index 288e7e689..f6659542e 100644 --- a/pkg/subscription/handler_test.go +++ b/pkg/subscription/handler_test.go @@ -14,12 +14,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/jensneuse/graphql-go-tools/examples/chat" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/graphql_datasource" - "github.com/jensneuse/graphql-go-tools/pkg/engine/datasource/httpclient" - "github.com/jensneuse/graphql-go-tools/pkg/engine/plan" - "github.com/jensneuse/graphql-go-tools/pkg/graphql" - "github.com/jensneuse/graphql-go-tools/pkg/starwars" + "github.com/wundergraph/graphql-go-tools/examples/chat" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/graphql_datasource" + "github.com/wundergraph/graphql-go-tools/pkg/engine/datasource/httpclient" + "github.com/wundergraph/graphql-go-tools/pkg/engine/plan" + "github.com/wundergraph/graphql-go-tools/pkg/graphql" + "github.com/wundergraph/graphql-go-tools/pkg/starwars" ) type handlerRoutine func(ctx context.Context) func() bool