From 56d536b3bfae1797c5db84ed47e246f0592af07a Mon Sep 17 00:00:00 2001 From: Panagiotis Karatakis Date: Fri, 11 Oct 2024 17:35:04 +0300 Subject: [PATCH] fix: remove custom scalars from blueprint (#2987) Co-authored-by: Tushar Mathur --- src/core/blueprint/into_schema.rs | 48 ++++++++++++--- .../add-field-index-list.md_client.snap | 36 ----------- .../add-field-many-list.md_client.snap | 36 ----------- .../snapshots/add-field-many.md_client.snap | 36 ----------- .../snapshots/add-field-modify.md_client.snap | 36 ----------- .../add-field-with-composition.md_client.snap | 36 ----------- .../add-field-with-modify.md_client.snap | 36 ----------- tests/core/snapshots/add-field.md_client.snap | 36 ----------- ...o-federation-entities-batch.md_client.snap | 36 ----------- .../apollo-federation-entities.md_client.snap | 36 ----------- .../snapshots/apollo-tracing.md_client.snap | 36 ----------- .../async-cache-disabled.md_client.snap | 36 ----------- ...e-enable-multiple-resolvers.md_client.snap | 36 ----------- .../async-cache-enabled.md_client.snap | 36 ----------- .../async-cache-global.md_client.snap | 36 ----------- ...sync-cache-inflight-request.md_client.snap | 36 ----------- .../core/snapshots/auth-basic.md_client.snap | 36 ----------- tests/core/snapshots/auth-jwt.md_client.snap | 36 ----------- tests/core/snapshots/auth.md_client.snap | 36 ----------- .../snapshots/batching-default.md_client.snap | 36 ----------- .../batching-disabled.md_client.snap | 36 ----------- .../batching-group-by-default.md_client.snap | 36 ----------- ...ching-group-by-optional-key.md_client.snap | 36 ----------- .../batching-group-by.md_client.snap | 36 ----------- .../snapshots/batching-post.md_client.snap | 36 ----------- tests/core/snapshots/batching.md_client.snap | 36 ----------- .../snapshots/cache-control.md_client.snap | 36 ----------- .../caching-collision.md_client.snap | 36 ----------- tests/core/snapshots/caching.md_client.snap | 36 ----------- .../call-graphql-datasource.md_client.snap | 36 ----------- .../call-multiple-steps-piping.md_client.snap | 34 ----------- .../snapshots/call-mutation.md_client.snap | 36 ----------- .../snapshots/call-operator.md_client.snap | 36 ----------- .../cors-allow-cred-false.md_client.snap | 36 ----------- .../cors-allow-cred-true.md_client.snap | 36 ----------- .../cors-allow-cred-vary.md_client.snap | 36 ----------- .../snapshots/custom-headers.md_client.snap | 36 ----------- tests/core/snapshots/custom-scalars.md_0.snap | 34 +++++++++++ .../snapshots/custom-scalars.md_client.snap | 61 +++++++++++++++++++ .../snapshots/custom-scalars.md_merged.snap | 27 ++++++++ ...edupe_batch_query_execution.md_client.snap | 36 ----------- .../default-value-arg.md_client.snap | 36 ----------- .../default-value-config.md_client.snap | 36 ----------- tests/core/snapshots/enum-args.md_client.snap | 36 ----------- tests/core/snapshots/env-value.md_client.snap | 36 ----------- .../experimental-headers.md_client.snap | 36 ----------- ...ion-subgraph-force-disabled.md_client.snap | 36 ----------- ...tion-subgraph-force-enabled.md_client.snap | 36 ----------- ...ration-subgraph-no-entities.md_client.snap | 36 ----------- .../graphql-conformance-001.md_client.snap | 36 ----------- .../graphql-conformance-003.md_client.snap | 36 ----------- .../graphql-conformance-010.md_client.snap | 36 ----------- .../graphql-conformance-013.md_client.snap | 34 ----------- .../graphql-conformance-014.md_client.snap | 36 ----------- .../graphql-conformance-015.md_client.snap | 36 ----------- ...raphql-conformance-http-001.md_client.snap | 36 ----------- ...raphql-conformance-http-002.md_client.snap | 36 ----------- ...raphql-conformance-http-003.md_client.snap | 36 ----------- ...raphql-conformance-http-004.md_client.snap | 36 ----------- ...raphql-conformance-http-005.md_client.snap | 36 ----------- ...raphql-conformance-http-006.md_client.snap | 36 ----------- ...raphql-conformance-http-010.md_client.snap | 36 ----------- ...raphql-conformance-http-012.md_client.snap | 36 ----------- ...raphql-conformance-http-013.md_client.snap | 34 ----------- ...raphql-conformance-http-014.md_client.snap | 36 ----------- ...raphql-conformance-http-015.md_client.snap | 36 ----------- ...mance-nested-lists-fragment.md_client.snap | 36 ----------- ...nformance-nested-lists-http.md_client.snap | 36 ----------- ...ql-conformance-nested-lists.md_client.snap | 36 ----------- ...ql-dataloader-batch-request.md_client.snap | 36 ----------- ...dataloader-no-batch-request.md_client.snap | 36 ----------- .../graphql-datasource-errors.md_client.snap | 36 ----------- ...graphql-datasource-mutation.md_client.snap | 36 ----------- .../graphql-datasource-no-args.md_client.snap | 36 ----------- ...datasource-query-directives.md_client.snap | 36 ----------- ...raphql-datasource-with-args.md_client.snap | 36 ----------- ...-datasource-with-empty-enum.md_client.snap | 36 ----------- ...asource-with-mandatory-enum.md_client.snap | 36 ----------- .../graphql-nested-datasource.md_client.snap | 36 ----------- .../core/snapshots/grpc-batch.md_client.snap | 36 ----------- .../core/snapshots/grpc-error.md_client.snap | 36 ----------- tests/core/snapshots/grpc-json.md_client.snap | 36 ----------- tests/core/snapshots/grpc-map.md_client.snap | 34 ----------- .../core/snapshots/grpc-oneof.md_client.snap | 36 ----------- ...-override-url-from-upstream.md_client.snap | 36 ----------- ...rpc-proto-with-same-package.md_client.snap | 36 ----------- .../snapshots/grpc-reflection.md_client.snap | 36 ----------- .../core/snapshots/grpc-simple.md_client.snap | 34 ----------- .../grpc-url-from-upstream.md_client.snap | 36 ----------- .../core/snapshots/http-select.md_client.snap | 36 ----------- tests/core/snapshots/https.md_client.snap | 36 ----------- .../snapshots/inline-field.md_client.snap | 36 ----------- .../inline-index-list.md_client.snap | 36 ----------- .../snapshots/inline-many-list.md_client.snap | 36 ----------- .../core/snapshots/inline-many.md_client.snap | 36 ----------- ...with-disabled-introspection.md_client.snap | 34 ----------- tests/core/snapshots/io-cache.md_client.snap | 36 ----------- .../snapshots/jit-enum-array.md_client.snap | 36 ----------- .../snapshots/js-directive.md_client.snap | 36 ----------- .../jsonplaceholder-call-post.md_client.snap | 36 ----------- .../snapshots/modified-field.md_client.snap | 36 ----------- .../snapshots/mutation-put.md_client.snap | 36 ----------- tests/core/snapshots/mutation.md_client.snap | 36 ----------- .../snapshots/n-plus-one-list.md_client.snap | 36 ----------- .../core/snapshots/n-plus-one.md_client.snap | 36 ----------- .../snapshots/nested-objects.md_client.snap | 36 ----------- .../nested-recursive-types.md_client.snap | 36 ----------- .../snapshots/nesting-level3.md_client.snap | 36 ----------- .../nullable-arg-query.md_client.snap | 36 ----------- .../snapshots/omit-index-list.md_client.snap | 36 ----------- tests/core/snapshots/omit-many.md_client.snap | 36 ----------- .../omit-resolved-by-parent.md_client.snap | 36 ----------- .../recursive-types-json.md_client.snap | 36 ----------- .../snapshots/recursive-types.md_client.snap | 36 ----------- .../snapshots/ref-other-nested.md_client.snap | 36 ----------- tests/core/snapshots/ref-other.md_client.snap | 36 ----------- .../related-fields-recursive.md_client.snap | 36 ----------- .../snapshots/rename-field.md_client.snap | 36 ----------- ...equest-to-upstream-batching.md_client.snap | 36 ----------- .../resolve-with-headers.md_client.snap | 36 ----------- .../resolve-with-vars.md_client.snap | 36 ----------- .../resolved-by-parent.md_client.snap | 36 ----------- .../snapshots/rest-api-error.md_client.snap | 36 ----------- .../snapshots/rest-api-post.md_client.snap | 36 ----------- tests/core/snapshots/rest-api.md_client.snap | 36 ----------- ...s-param-on-server-directive.md_client.snap | 36 ----------- tests/core/snapshots/showcase.md_client.snap | 36 ----------- .../snapshots/simple-graphql.md_client.snap | 36 ----------- .../snapshots/simple-query.md_client.snap | 36 ----------- .../test-add-field-list.md_client.snap | 36 ----------- .../snapshots/test-add-field.md_client.snap | 36 ----------- ...st-add-link-to-empty-config.md_client.snap | 36 ----------- .../test-alias-on-enum.md_client.snap | 36 ----------- .../test-batching-group-by.md_client.snap | 36 ----------- .../core/snapshots/test-cache.md_client.snap | 36 ----------- .../test-custom-scalar.md_client.snap | 36 ----------- .../test-custom-types.md_client.snap | 36 ----------- .../test-dbl-usage-many.md_client.snap | 36 ----------- .../test-description-many.md_client.snap | 36 ----------- .../snapshots/test-enable-jit.md_client.snap | 36 ----------- .../test-enum-aliases.md_client.snap | 36 ----------- .../test-enum-default.md_client.snap | 36 ----------- .../test-enum-description.md_client.snap | 36 ----------- tests/core/snapshots/test-enum.md_client.snap | 36 ----------- .../test-expr-scalar-as-string.md_client.snap | 36 ----------- .../test-expr-with-mustache.md_client.snap | 36 ----------- tests/core/snapshots/test-expr.md_client.snap | 36 ----------- .../test-graphqlsource.md_client.snap | 36 ----------- tests/core/snapshots/test-grpc.md_client.snap | 36 ----------- .../test-http-baseurl.md_client.snap | 36 ----------- .../test-http-batchKey.md_client.snap | 36 ----------- .../test-http-headers.md_client.snap | 36 ----------- .../snapshots/test-http-tmpl.md_client.snap | 36 ----------- ...est-http-with-mustache-expr.md_client.snap | 36 ----------- tests/core/snapshots/test-http.md_client.snap | 36 ----------- .../snapshots/test-inline-list.md_client.snap | 36 ----------- .../core/snapshots/test-inline.md_client.snap | 36 ----------- .../test-input-documentation.md_client.snap | 36 ----------- .../snapshots/test-input-out.md_client.snap | 36 ----------- .../test-input-with-arg-out.md_client.snap | 36 ----------- .../test-interface-from-json.md_client.snap | 36 ----------- .../test-interface-result.md_client.snap | 36 ----------- .../snapshots/test-interface.md_client.snap | 36 ----------- ...js-multi-onRequest-handlers.md_client.snap | 36 ----------- .../test-js-request-response-2.md_client.snap | 36 ----------- .../test-js-request-response.md_client.snap | 36 ----------- .../test-link-support.md_client.snap | 36 ----------- .../snapshots/test-list-args.md_client.snap | 36 ----------- ...erge-right-with-link-config.md_client.snap | 36 ----------- .../test-merge-server-sdl.md_client.snap | 36 ----------- .../core/snapshots/test-modify.md_client.snap | 36 ----------- .../test-multi-interface.md_client.snap | 36 ----------- .../test-multiple-config-types.md_client.snap | 36 ----------- .../test-nested-input.md_client.snap | 36 ----------- .../snapshots/test-nested-link.md_client.snap | 36 ----------- .../test-nested-value.md_client.snap | 36 ----------- .../test-null-in-array.md_client.snap | 36 ----------- .../test-null-in-object.md_client.snap | 36 ----------- .../snapshots/test-omit-list.md_client.snap | 36 ----------- tests/core/snapshots/test-omit.md_client.snap | 36 ----------- ...est-optional-key-skip-empty.md_client.snap | 36 ----------- .../test-params-as-body.md_client.snap | 36 ----------- .../test-query-documentation.md_client.snap | 36 ----------- .../core/snapshots/test-query.md_client.snap | 36 ----------- .../snapshots/test-ref-other.md_client.snap | 36 ----------- .../test-required-fields.md_client.snap | 36 ----------- .../test-scalars-builtin.md_client.snap | 36 ----------- .../test-scalars-integers.md_client.snap | 16 ----- .../test-scalars-validation.md_client.snap | 34 ----------- .../snapshots/test-scalars.md_client.snap | 26 -------- .../snapshots/test-server-vars.md_client.snap | 36 ----------- .../test-set-cookie-headers.md_client.snap | 36 ----------- .../test-static-value.md_client.snap | 36 ----------- .../test-union-ambiguous.md_client.snap | 36 ----------- .../core/snapshots/test-union.md_client.snap | 36 ----------- .../test-upstream-headers.md_client.snap | 36 ----------- .../snapshots/test-upstream.md_client.snap | 36 ----------- .../upstream-batching.md_client.snap | 36 ----------- .../upstream-fail-request.md_client.snap | 36 ----------- .../snapshots/with-args-url.md_client.snap | 36 ----------- tests/core/snapshots/with-args.md_client.snap | 36 ----------- .../snapshots/with-nesting.md_client.snap | 36 ----------- .../yaml-nested-unions.md_client.snap | 36 ----------- .../yaml-union-in-type.md_client.snap | 36 ----------- .../core/snapshots/yaml-union.md_client.snap | 36 ----------- tests/execution/custom-scalars.md | 60 ++++++++++++++++++ 206 files changed, 222 insertions(+), 7200 deletions(-) create mode 100644 tests/core/snapshots/custom-scalars.md_0.snap create mode 100644 tests/core/snapshots/custom-scalars.md_client.snap create mode 100644 tests/core/snapshots/custom-scalars.md_merged.snap create mode 100644 tests/execution/custom-scalars.md diff --git a/src/core/blueprint/into_schema.rs b/src/core/blueprint/into_schema.rs index ff45a464f3..49fb9c9ea8 100644 --- a/src/core/blueprint/into_schema.rs +++ b/src/core/blueprint/into_schema.rs @@ -4,13 +4,12 @@ use async_graphql::dynamic::{self, FieldFuture, FieldValue, SchemaBuilder, TypeR use async_graphql::ErrorExtensions; use async_graphql_value::ConstValue; use futures_util::TryFutureExt; -use strum::IntoEnumIterator; use tracing::Instrument; use crate::core::blueprint::{Blueprint, Definition}; use crate::core::http::RequestContext; use crate::core::ir::{EvalContext, ResolverContext, TypedValue}; -use crate::core::scalar; +use crate::core::scalar::Scalar; /// We set the default value for an `InputValue` by reading it from the /// blueprint and assigning it to the provided `InputValue` during the @@ -199,12 +198,7 @@ impl From<&Blueprint> for SchemaBuilder { let mutation = blueprint.mutation(); let mut schema = dynamic::Schema::build(query.as_str(), mutation.as_deref(), None); - for scalar in scalar::Scalar::iter() { - let k = scalar.name(); - schema = schema.register(dynamic::Type::Scalar( - dynamic::Scalar::new(k.clone()).validator(move |val| scalar.validate(val)), - )); - } + schema = inject_custom_scalars(schema, blueprint); for def in blueprint.definitions.iter() { schema = schema.register(to_type(def)); @@ -213,3 +207,41 @@ impl From<&Blueprint> for SchemaBuilder { schema } } + +fn inject_custom_scalars(mut schema: SchemaBuilder, blueprint: &Blueprint) -> SchemaBuilder { + fn inject_scalar(schema: SchemaBuilder, type_name: &str) -> SchemaBuilder { + if let Some(scalar) = Scalar::find(type_name) { + let scalar = scalar.clone(); + schema.register(dynamic::Type::Scalar( + dynamic::Scalar::new(scalar.name()).validator(move |val| scalar.validate(val)), + )) + } else { + schema + } + } + + for ty in blueprint.definitions.clone() { + match ty { + Definition::Interface(interface_type_definition) => { + for field in interface_type_definition.fields { + let type_name = field.of_type.name(); + schema = inject_scalar(schema, type_name); + } + } + Definition::Object(object_type_definition) => { + for field in object_type_definition.fields { + let type_name = field.of_type.name(); + schema = inject_scalar(schema, type_name); + } + } + Definition::InputObject(input_object_type_definition) => { + for field in input_object_type_definition.fields { + let type_name = field.of_type.name(); + schema = inject_scalar(schema, type_name); + } + } + _ => (), + } + } + schema +} diff --git a/tests/core/snapshots/add-field-index-list.md_client.snap b/tests/core/snapshots/add-field-index-list.md_client.snap index f2f79d9092..0621209324 100644 --- a/tests/core/snapshots/add-field-index-list.md_client.snap +++ b/tests/core/snapshots/add-field-index-list.md_client.snap @@ -2,47 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { username: String users: [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { name: String } diff --git a/tests/core/snapshots/add-field-many-list.md_client.snap b/tests/core/snapshots/add-field-many-list.md_client.snap index 93708a3793..2de3b45764 100644 --- a/tests/core/snapshots/add-field-many-list.md_client.snap +++ b/tests/core/snapshots/add-field-many-list.md_client.snap @@ -8,30 +8,6 @@ type A { d: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { u: U } @@ -44,18 +20,6 @@ type U { e: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/add-field-many.md_client.snap b/tests/core/snapshots/add-field-many.md_client.snap index c0e513c150..9faf468474 100644 --- a/tests/core/snapshots/add-field-many.md_client.snap +++ b/tests/core/snapshots/add-field-many.md_client.snap @@ -2,16 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { a: String b: String @@ -20,36 +10,10 @@ type Foo { x: X } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: Foo } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type X { a: String b: String diff --git a/tests/core/snapshots/add-field-modify.md_client.snap b/tests/core/snapshots/add-field-modify.md_client.snap index b5acf9c1ad..5415fb1a15 100644 --- a/tests/core/snapshots/add-field-modify.md_client.snap +++ b/tests/core/snapshots/add-field-modify.md_client.snap @@ -8,46 +8,10 @@ type Address { zipcode: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { address: Address city: String diff --git a/tests/core/snapshots/add-field-with-composition.md_client.snap b/tests/core/snapshots/add-field-with-composition.md_client.snap index 77e0452337..b46761f427 100644 --- a/tests/core/snapshots/add-field-with-composition.md_client.snap +++ b/tests/core/snapshots/add-field-with-composition.md_client.snap @@ -7,53 +7,17 @@ type Address { street: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Geo { lat: String lng: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { lat: String lng: String user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { address: Address } diff --git a/tests/core/snapshots/add-field-with-modify.md_client.snap b/tests/core/snapshots/add-field-with-modify.md_client.snap index 6e342ddcf7..495d594bc1 100644 --- a/tests/core/snapshots/add-field-with-modify.md_client.snap +++ b/tests/core/snapshots/add-field-with-modify.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { person1: User person2: User @@ -33,18 +9,6 @@ type Query { user2: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { name: String } diff --git a/tests/core/snapshots/add-field.md_client.snap b/tests/core/snapshots/add-field.md_client.snap index 283403418e..ade40aa4a1 100644 --- a/tests/core/snapshots/add-field.md_client.snap +++ b/tests/core/snapshots/add-field.md_client.snap @@ -6,50 +6,14 @@ type Address { geo: Geo } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Geo { lat: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { address: Address lat: String diff --git a/tests/core/snapshots/apollo-federation-entities-batch.md_client.snap b/tests/core/snapshots/apollo-federation-entities-batch.md_client.snap index bf6bfe42a1..240fff3b5b 100644 --- a/tests/core/snapshots/apollo-federation-entities-batch.md_client.snap +++ b/tests/core/snapshots/apollo-federation-entities-batch.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int! title: String! @@ -43,18 +19,6 @@ type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/apollo-federation-entities.md_client.snap b/tests/core/snapshots/apollo-federation-entities.md_client.snap index bf6bfe42a1..240fff3b5b 100644 --- a/tests/core/snapshots/apollo-federation-entities.md_client.snap +++ b/tests/core/snapshots/apollo-federation-entities.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int! title: String! @@ -43,18 +19,6 @@ type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/apollo-tracing.md_client.snap b/tests/core/snapshots/apollo-tracing.md_client.snap index e7428ca44f..d07b38f527 100644 --- a/tests/core/snapshots/apollo-tracing.md_client.snap +++ b/tests/core/snapshots/apollo-tracing.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { hello: String! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/async-cache-disabled.md_client.snap b/tests/core/snapshots/async-cache-disabled.md_client.snap index 35e6702865..ffe1589053 100644 --- a/tests/core/snapshots/async-cache-disabled.md_client.snap +++ b/tests/core/snapshots/async-cache-disabled.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -38,18 +14,6 @@ type Query { posts: Post } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/async-cache-enable-multiple-resolvers.md_client.snap b/tests/core/snapshots/async-cache-enable-multiple-resolvers.md_client.snap index 6088d2020f..a1e6771d53 100644 --- a/tests/core/snapshots/async-cache-enable-multiple-resolvers.md_client.snap +++ b/tests/core/snapshots/async-cache-enable-multiple-resolvers.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int! @@ -39,18 +15,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/async-cache-enabled.md_client.snap b/tests/core/snapshots/async-cache-enabled.md_client.snap index 7d97e582e4..fd9e443470 100644 --- a/tests/core/snapshots/async-cache-enabled.md_client.snap +++ b/tests/core/snapshots/async-cache-enabled.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -38,18 +14,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/async-cache-global.md_client.snap b/tests/core/snapshots/async-cache-global.md_client.snap index a30e206a38..c48b74aa3d 100644 --- a/tests/core/snapshots/async-cache-global.md_client.snap +++ b/tests/core/snapshots/async-cache-global.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -37,18 +13,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/async-cache-inflight-request.md_client.snap b/tests/core/snapshots/async-cache-inflight-request.md_client.snap index 7d97e582e4..fd9e443470 100644 --- a/tests/core/snapshots/async-cache-inflight-request.md_client.snap +++ b/tests/core/snapshots/async-cache-inflight-request.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -38,18 +14,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/auth-basic.md_client.snap b/tests/core/snapshots/auth-basic.md_client.snap index 279e459c38..4b69aeb528 100644 --- a/tests/core/snapshots/auth-basic.md_client.snap +++ b/tests/core/snapshots/auth-basic.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { protectedType: ProtectedType } @@ -33,8 +11,6 @@ type Nested { protected: String! } -scalar PhoneNumber - type ProtectedType { name: String! nested: String! @@ -47,18 +23,6 @@ type Query { scalar: String! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query mutation: Mutation diff --git a/tests/core/snapshots/auth-jwt.md_client.snap b/tests/core/snapshots/auth-jwt.md_client.snap index 279e459c38..4b69aeb528 100644 --- a/tests/core/snapshots/auth-jwt.md_client.snap +++ b/tests/core/snapshots/auth-jwt.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { protectedType: ProtectedType } @@ -33,8 +11,6 @@ type Nested { protected: String! } -scalar PhoneNumber - type ProtectedType { name: String! nested: String! @@ -47,18 +23,6 @@ type Query { scalar: String! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query mutation: Mutation diff --git a/tests/core/snapshots/auth.md_client.snap b/tests/core/snapshots/auth.md_client.snap index 1ce2c0f1c4..66a444f416 100644 --- a/tests/core/snapshots/auth.md_client.snap +++ b/tests/core/snapshots/auth.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { data: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/batching-default.md_client.snap b/tests/core/snapshots/batching-default.md_client.snap index 7d97e582e4..fd9e443470 100644 --- a/tests/core/snapshots/batching-default.md_client.snap +++ b/tests/core/snapshots/batching-default.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -38,18 +14,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/batching-disabled.md_client.snap b/tests/core/snapshots/batching-disabled.md_client.snap index 3bb4df3bbd..47edbb3102 100644 --- a/tests/core/snapshots/batching-disabled.md_client.snap +++ b/tests/core/snapshots/batching-disabled.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/batching-group-by-default.md_client.snap b/tests/core/snapshots/batching-group-by-default.md_client.snap index 7d97e582e4..fd9e443470 100644 --- a/tests/core/snapshots/batching-group-by-default.md_client.snap +++ b/tests/core/snapshots/batching-group-by-default.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -38,18 +14,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/batching-group-by-optional-key.md_client.snap b/tests/core/snapshots/batching-group-by-optional-key.md_client.snap index 0612094309..a8ef80479f 100644 --- a/tests/core/snapshots/batching-group-by-optional-key.md_client.snap +++ b/tests/core/snapshots/batching-group-by-optional-key.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -38,18 +14,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/batching-group-by.md_client.snap b/tests/core/snapshots/batching-group-by.md_client.snap index 7d97e582e4..fd9e443470 100644 --- a/tests/core/snapshots/batching-group-by.md_client.snap +++ b/tests/core/snapshots/batching-group-by.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -38,18 +14,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/batching-post.md_client.snap b/tests/core/snapshots/batching-post.md_client.snap index 7d97e582e4..fd9e443470 100644 --- a/tests/core/snapshots/batching-post.md_client.snap +++ b/tests/core/snapshots/batching-post.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -38,18 +14,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/batching.md_client.snap b/tests/core/snapshots/batching.md_client.snap index 53f9f3657f..52d67b233a 100644 --- a/tests/core/snapshots/batching.md_client.snap +++ b/tests/core/snapshots/batching.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/cache-control.md_client.snap b/tests/core/snapshots/cache-control.md_client.snap index 76270c3b32..5e9fd2fa39 100644 --- a/tests/core/snapshots/cache-control.md_client.snap +++ b/tests/core/snapshots/cache-control.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/caching-collision.md_client.snap b/tests/core/snapshots/caching-collision.md_client.snap index acfbef0ed9..8b73880b37 100644 --- a/tests/core/snapshots/caching-collision.md_client.snap +++ b/tests/core/snapshots/caching-collision.md_client.snap @@ -7,50 +7,14 @@ type Bar { id: String! } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { id: Int! } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bars: [Bar] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/caching.md_client.snap b/tests/core/snapshots/caching.md_client.snap index e5557e3a59..5fc689497a 100644 --- a/tests/core/snapshots/caching.md_client.snap +++ b/tests/core/snapshots/caching.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { fieldCache: Type fieldCacheList: [Type] @@ -42,18 +18,6 @@ type TypeCache { list: [Type] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/call-graphql-datasource.md_client.snap b/tests/core/snapshots/call-graphql-datasource.md_client.snap index b3b3cbc429..65c726c3dd 100644 --- a/tests/core/snapshots/call-graphql-datasource.md_client.snap +++ b/tests/core/snapshots/call-graphql-datasource.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String! id: Int! @@ -39,18 +15,6 @@ type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { email: String! id: Int! diff --git a/tests/core/snapshots/call-multiple-steps-piping.md_client.snap b/tests/core/snapshots/call-multiple-steps-piping.md_client.snap index 9bd82798db..32cb3a821c 100644 --- a/tests/core/snapshots/call-multiple-steps-piping.md_client.snap +++ b/tests/core/snapshots/call-multiple-steps-piping.md_client.snap @@ -2,30 +2,8 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - scalar JSON -scalar PhoneNumber - type Query { a(input: JSON): JSON a_input(input: JSON): JSON @@ -38,18 +16,6 @@ type Query { wrap_input(input: JSON): JSON } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/call-mutation.md_client.snap b/tests/core/snapshots/call-mutation.md_client.snap index 4485a75813..81e7e3b2d7 100644 --- a/tests/core/snapshots/call-mutation.md_client.snap +++ b/tests/core/snapshots/call-mutation.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { attachPostToFirstUser(postId: Int!): User attachPostToUser(userId: Int!, postId: Int!): User @@ -33,8 +11,6 @@ type Mutation { insertPostToUser(input: PostInputWithoutUserId!, userId: Int!): Post } -scalar PhoneNumber - type Post { body: String id: Int @@ -59,18 +35,6 @@ type Query { postFromUser(userId: Int!): Post } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/call-operator.md_client.snap b/tests/core/snapshots/call-operator.md_client.snap index 44b26dd933..b45a50d9a7 100644 --- a/tests/core/snapshots/call-operator.md_client.snap +++ b/tests/core/snapshots/call-operator.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type News { body: String id: Int @@ -35,8 +13,6 @@ type NewsData { news: [News] } -scalar PhoneNumber - type Post { body: String id: Int @@ -69,18 +45,6 @@ type Query { userWithPosts: UserWithPosts } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { email: String! id: Int! diff --git a/tests/core/snapshots/cors-allow-cred-false.md_client.snap b/tests/core/snapshots/cors-allow-cred-false.md_client.snap index 30b03d280e..90ef607f77 100644 --- a/tests/core/snapshots/cors-allow-cred-false.md_client.snap +++ b/tests/core/snapshots/cors-allow-cred-false.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { val: Int } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/cors-allow-cred-true.md_client.snap b/tests/core/snapshots/cors-allow-cred-true.md_client.snap index 30b03d280e..90ef607f77 100644 --- a/tests/core/snapshots/cors-allow-cred-true.md_client.snap +++ b/tests/core/snapshots/cors-allow-cred-true.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { val: Int } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/cors-allow-cred-vary.md_client.snap b/tests/core/snapshots/cors-allow-cred-vary.md_client.snap index 30b03d280e..90ef607f77 100644 --- a/tests/core/snapshots/cors-allow-cred-vary.md_client.snap +++ b/tests/core/snapshots/cors-allow-cred-vary.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { val: Int } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/custom-headers.md_client.snap b/tests/core/snapshots/custom-headers.md_client.snap index dede7cade2..e749432d28 100644 --- a/tests/core/snapshots/custom-headers.md_client.snap +++ b/tests/core/snapshots/custom-headers.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { greet: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/custom-scalars.md_0.snap b/tests/core/snapshots/custom-scalars.md_0.snap new file mode 100644 index 0000000000..8fee86ee58 --- /dev/null +++ b/tests/core/snapshots/custom-scalars.md_0.snap @@ -0,0 +1,34 @@ +--- +source: tests/core/spec.rs +expression: response +--- +{ + "status": 200, + "headers": { + "content-type": "application/json" + }, + "body": { + "data": { + "qBytes": "1", + "qDate": "2023-10-05T00:00:00Z", + "qDateTime": "2023-10-05T00:00:00Z", + "qEmail": "funny@not.com", + "qInt128": "7", + "qInt16": 8, + "qInt32": 9, + "qInt64": "10", + "qInt8": 11, + "qJSON": { + "a": 1, + "b": 2 + }, + "qPhoneNumber": "+1234567890", + "qUInt128": "2", + "qUInt16": 3, + "qUInt32": 4, + "qUInt64": "5", + "qUInt8": 6, + "qUrl": "http://example.com" + } + } +} diff --git a/tests/core/snapshots/custom-scalars.md_client.snap b/tests/core/snapshots/custom-scalars.md_client.snap new file mode 100644 index 0000000000..4c487138d6 --- /dev/null +++ b/tests/core/snapshots/custom-scalars.md_client.snap @@ -0,0 +1,61 @@ +--- +source: tests/core/spec.rs +expression: formatted +--- +scalar Bytes + +scalar Date + +scalar DateTime + +scalar Email + +scalar Int128 + +scalar Int16 + +scalar Int32 + +scalar Int64 + +scalar Int8 + +scalar JSON + +scalar PhoneNumber + +type Query { + qBytes: Bytes + qDate: Date + qDateTime: DateTime + qEmail: Email + qInt128: Int128 + qInt16: Int16 + qInt32: Int32 + qInt64: Int64 + qInt8: Int8 + qJSON: JSON + qPhoneNumber: PhoneNumber + qUInt128: UInt128 + qUInt16: UInt16 + qUInt32: UInt32 + qUInt64: UInt64 + qUInt8: UInt8 + qUrl: Url +} + +scalar UInt128 + +scalar UInt16 + +scalar UInt32 + +scalar UInt64 + +scalar UInt8 + +scalar Url + +schema { + query: Query +} diff --git a/tests/core/snapshots/custom-scalars.md_merged.snap b/tests/core/snapshots/custom-scalars.md_merged.snap new file mode 100644 index 0000000000..689a424bae --- /dev/null +++ b/tests/core/snapshots/custom-scalars.md_merged.snap @@ -0,0 +1,27 @@ +--- +source: tests/core/spec.rs +expression: formatter +--- +schema @server @upstream { + query: Query +} + +type Query { + qBytes: Bytes @expr(body: "1") + qDate: Date @expr(body: "2023-10-05T00:00:00Z") + qDateTime: DateTime @expr(body: "2023-10-05T00:00:00Z") + qEmail: Email @expr(body: "funny@not.com") + qInt128: Int128 @expr(body: "7") + qInt16: Int16 @expr(body: 8) + qInt32: Int32 @expr(body: 9) + qInt64: Int64 @expr(body: "10") + qInt8: Int8 @expr(body: 11) + qJSON: JSON @expr(body: {a: 1, b: 2}) + qPhoneNumber: PhoneNumber @expr(body: "+1234567890") + qUInt128: UInt128 @expr(body: "2") + qUInt16: UInt16 @expr(body: 3) + qUInt32: UInt32 @expr(body: 4) + qUInt64: UInt64 @expr(body: "5") + qUInt8: UInt8 @expr(body: 6) + qUrl: Url @expr(body: "http://example.com") +} diff --git a/tests/core/snapshots/dedupe_batch_query_execution.md_client.snap b/tests/core/snapshots/dedupe_batch_query_execution.md_client.snap index a30e206a38..c48b74aa3d 100644 --- a/tests/core/snapshots/dedupe_batch_query_execution.md_client.snap +++ b/tests/core/snapshots/dedupe_batch_query_execution.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -37,18 +13,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/default-value-arg.md_client.snap b/tests/core/snapshots/default-value-arg.md_client.snap index 0e14e58f1b..2d58111153 100644 --- a/tests/core/snapshots/default-value-arg.md_client.snap +++ b/tests/core/snapshots/default-value-arg.md_client.snap @@ -2,50 +2,14 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - input Input { id: Int! } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bar(input: Input = {id: 1}): Int } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/default-value-config.md_client.snap b/tests/core/snapshots/default-value-config.md_client.snap index dff80e655d..1a5111fb83 100644 --- a/tests/core/snapshots/default-value-config.md_client.snap +++ b/tests/core/snapshots/default-value-config.md_client.snap @@ -2,51 +2,15 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - input Input { id: Int = 1 } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bar(input: Input = {id: 3}): Int foo(input: Input!): Int } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/enum-args.md_client.snap b/tests/core/snapshots/enum-args.md_client.snap index e1a18931d5..0372f32e76 100644 --- a/tests/core/snapshots/enum-args.md_client.snap +++ b/tests/core/snapshots/enum-args.md_client.snap @@ -2,52 +2,16 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - enum COLOR { BLUE GREEN RED } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { color(item: COLOR): COLOR } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/env-value.md_client.snap b/tests/core/snapshots/env-value.md_client.snap index d63205850e..3ecc060530 100644 --- a/tests/core/snapshots/env-value.md_client.snap +++ b/tests/core/snapshots/env-value.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -39,18 +15,6 @@ type Query { post3: Post } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/experimental-headers.md_client.snap b/tests/core/snapshots/experimental-headers.md_client.snap index a791516c35..9f6354f50d 100644 --- a/tests/core/snapshots/experimental-headers.md_client.snap +++ b/tests/core/snapshots/experimental-headers.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { users: [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/federation-subgraph-force-disabled.md_client.snap b/tests/core/snapshots/federation-subgraph-force-disabled.md_client.snap index d5bd2c751f..f0cf6e9796 100644 --- a/tests/core/snapshots/federation-subgraph-force-disabled.md_client.snap +++ b/tests/core/snapshots/federation-subgraph-force-disabled.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/federation-subgraph-force-enabled.md_client.snap b/tests/core/snapshots/federation-subgraph-force-enabled.md_client.snap index cda83b88d6..607627ad6e 100644 --- a/tests/core/snapshots/federation-subgraph-force-enabled.md_client.snap +++ b/tests/core/snapshots/federation-subgraph-force-enabled.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { """ Apollo federation Query._service resolver @@ -34,18 +10,6 @@ type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/federation-subgraph-no-entities.md_client.snap b/tests/core/snapshots/federation-subgraph-no-entities.md_client.snap index d5bd2c751f..f0cf6e9796 100644 --- a/tests/core/snapshots/federation-subgraph-no-entities.md_client.snap +++ b/tests/core/snapshots/federation-subgraph-no-entities.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/graphql-conformance-001.md_client.snap b/tests/core/snapshots/graphql-conformance-001.md_client.snap index 63c2881da4..fe68975d19 100644 --- a/tests/core/snapshots/graphql-conformance-001.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-001.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { city: String id: ID! diff --git a/tests/core/snapshots/graphql-conformance-003.md_client.snap b/tests/core/snapshots/graphql-conformance-003.md_client.snap index dacaf4db9f..cb05e461f7 100644 --- a/tests/core/snapshots/graphql-conformance-003.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-003.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: ID! name: String! diff --git a/tests/core/snapshots/graphql-conformance-010.md_client.snap b/tests/core/snapshots/graphql-conformance-010.md_client.snap index fb1bd17a7d..a8a2a67c6c 100644 --- a/tests/core/snapshots/graphql-conformance-010.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-010.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Location { lat: Int! lon: Int! @@ -34,8 +12,6 @@ input LocationInput { lon: Int! } -scalar PhoneNumber - type Point { id: ID! location: Location @@ -46,18 +22,6 @@ type Query { nearby(location: LocationInput): Point } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/graphql-conformance-013.md_client.snap b/tests/core/snapshots/graphql-conformance-013.md_client.snap index 76b73fd3c9..6d42200537 100644 --- a/tests/core/snapshots/graphql-conformance-013.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-013.md_client.snap @@ -2,46 +2,12 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - scalar Date -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { me: User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { birthday: Date id: String diff --git a/tests/core/snapshots/graphql-conformance-014.md_client.snap b/tests/core/snapshots/graphql-conformance-014.md_client.snap index 63c2881da4..fe68975d19 100644 --- a/tests/core/snapshots/graphql-conformance-014.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-014.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { city: String id: ID! diff --git a/tests/core/snapshots/graphql-conformance-015.md_client.snap b/tests/core/snapshots/graphql-conformance-015.md_client.snap index e2c88c1b06..2b1b4a30a0 100644 --- a/tests/core/snapshots/graphql-conformance-015.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-015.md_client.snap @@ -2,50 +2,14 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - input Foo { bar: String! = "BUZZ" } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { featuredVideo(video: VideoSize! = {width: 1600, height: 900}): String! featuredVideoPreview(video: VideoSize! = {}): String! diff --git a/tests/core/snapshots/graphql-conformance-http-001.md_client.snap b/tests/core/snapshots/graphql-conformance-http-001.md_client.snap index 63c2881da4..fe68975d19 100644 --- a/tests/core/snapshots/graphql-conformance-http-001.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-001.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { city: String id: ID! diff --git a/tests/core/snapshots/graphql-conformance-http-002.md_client.snap b/tests/core/snapshots/graphql-conformance-http-002.md_client.snap index 87d19d57e1..4b9d55b703 100644 --- a/tests/core/snapshots/graphql-conformance-http-002.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-002.md_client.snap @@ -8,46 +8,10 @@ type BirthDay { year: Int } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { birthday: BirthDay! city: String diff --git a/tests/core/snapshots/graphql-conformance-http-003.md_client.snap b/tests/core/snapshots/graphql-conformance-http-003.md_client.snap index dacaf4db9f..cb05e461f7 100644 --- a/tests/core/snapshots/graphql-conformance-http-003.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-003.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: ID! name: String! diff --git a/tests/core/snapshots/graphql-conformance-http-004.md_client.snap b/tests/core/snapshots/graphql-conformance-http-004.md_client.snap index dacaf4db9f..cb05e461f7 100644 --- a/tests/core/snapshots/graphql-conformance-http-004.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-004.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: ID! name: String! diff --git a/tests/core/snapshots/graphql-conformance-http-005.md_client.snap b/tests/core/snapshots/graphql-conformance-http-005.md_client.snap index 3489654eda..03f65ab5ff 100644 --- a/tests/core/snapshots/graphql-conformance-http-005.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-005.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { dob: String! id: ID! diff --git a/tests/core/snapshots/graphql-conformance-http-006.md_client.snap b/tests/core/snapshots/graphql-conformance-http-006.md_client.snap index ba98860b7c..99b6b22e90 100644 --- a/tests/core/snapshots/graphql-conformance-http-006.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-006.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { friends(first: Int): [User!]! id: ID! diff --git a/tests/core/snapshots/graphql-conformance-http-010.md_client.snap b/tests/core/snapshots/graphql-conformance-http-010.md_client.snap index fb1bd17a7d..a8a2a67c6c 100644 --- a/tests/core/snapshots/graphql-conformance-http-010.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-010.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Location { lat: Int! lon: Int! @@ -34,8 +12,6 @@ input LocationInput { lon: Int! } -scalar PhoneNumber - type Point { id: ID! location: Location @@ -46,18 +22,6 @@ type Query { nearby(location: LocationInput): Point } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/graphql-conformance-http-012.md_client.snap b/tests/core/snapshots/graphql-conformance-http-012.md_client.snap index 0b6276781e..cece3220d6 100644 --- a/tests/core/snapshots/graphql-conformance-http-012.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-012.md_client.snap @@ -2,35 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Person { age: Int name: String } -scalar PhoneNumber - type Photo { height: Int meta: PhotoMeta @@ -49,18 +25,6 @@ type Query { union SearchResult = Person | Photo -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/graphql-conformance-http-013.md_client.snap b/tests/core/snapshots/graphql-conformance-http-013.md_client.snap index 76b73fd3c9..6d42200537 100644 --- a/tests/core/snapshots/graphql-conformance-http-013.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-013.md_client.snap @@ -2,46 +2,12 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - scalar Date -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { me: User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { birthday: Date id: String diff --git a/tests/core/snapshots/graphql-conformance-http-014.md_client.snap b/tests/core/snapshots/graphql-conformance-http-014.md_client.snap index 63c2881da4..fe68975d19 100644 --- a/tests/core/snapshots/graphql-conformance-http-014.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-014.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { city: String id: ID! diff --git a/tests/core/snapshots/graphql-conformance-http-015.md_client.snap b/tests/core/snapshots/graphql-conformance-http-015.md_client.snap index e2c88c1b06..2b1b4a30a0 100644 --- a/tests/core/snapshots/graphql-conformance-http-015.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-http-015.md_client.snap @@ -2,50 +2,14 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - input Foo { bar: String! = "BUZZ" } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: ID!): User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { featuredVideo(video: VideoSize! = {width: 1600, height: 900}): String! featuredVideoPreview(video: VideoSize! = {}): String! diff --git a/tests/core/snapshots/graphql-conformance-nested-lists-fragment.md_client.snap b/tests/core/snapshots/graphql-conformance-nested-lists-fragment.md_client.snap index abb93793ac..740daf953e 100644 --- a/tests/core/snapshots/graphql-conformance-nested-lists-fragment.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-nested-lists-fragment.md_client.snap @@ -7,48 +7,12 @@ type Admin { region: String! } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { users: [[Role!]!]! } union Role = Admin | User -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { accountRef: String! id: ID! diff --git a/tests/core/snapshots/graphql-conformance-nested-lists-http.md_client.snap b/tests/core/snapshots/graphql-conformance-nested-lists-http.md_client.snap index 78e475aae3..341ff5b8c6 100644 --- a/tests/core/snapshots/graphql-conformance-nested-lists-http.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-nested-lists-http.md_client.snap @@ -2,47 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { addUsers(userNames: [[String!]!]!): Boolean userGroups: [[User!]!]! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { accountRef: String! id: ID! diff --git a/tests/core/snapshots/graphql-conformance-nested-lists.md_client.snap b/tests/core/snapshots/graphql-conformance-nested-lists.md_client.snap index 78e475aae3..341ff5b8c6 100644 --- a/tests/core/snapshots/graphql-conformance-nested-lists.md_client.snap +++ b/tests/core/snapshots/graphql-conformance-nested-lists.md_client.snap @@ -2,47 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { addUsers(userNames: [[String!]!]!): Boolean userGroups: [[User!]!]! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { accountRef: String! id: ID! diff --git a/tests/core/snapshots/graphql-dataloader-batch-request.md_client.snap b/tests/core/snapshots/graphql-dataloader-batch-request.md_client.snap index 048d998a2f..932036ff78 100644 --- a/tests/core/snapshots/graphql-dataloader-batch-request.md_client.snap +++ b/tests/core/snapshots/graphql-dataloader-batch-request.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int title: String @@ -37,18 +13,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/graphql-dataloader-no-batch-request.md_client.snap b/tests/core/snapshots/graphql-dataloader-no-batch-request.md_client.snap index 048d998a2f..932036ff78 100644 --- a/tests/core/snapshots/graphql-dataloader-no-batch-request.md_client.snap +++ b/tests/core/snapshots/graphql-dataloader-no-batch-request.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int title: String @@ -37,18 +13,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/graphql-datasource-errors.md_client.snap b/tests/core/snapshots/graphql-datasource-errors.md_client.snap index 76270c3b32..5e9fd2fa39 100644 --- a/tests/core/snapshots/graphql-datasource-errors.md_client.snap +++ b/tests/core/snapshots/graphql-datasource-errors.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/graphql-datasource-mutation.md_client.snap b/tests/core/snapshots/graphql-datasource-mutation.md_client.snap index 2fab4b1a12..817a9de9a6 100644 --- a/tests/core/snapshots/graphql-datasource-mutation.md_client.snap +++ b/tests/core/snapshots/graphql-datasource-mutation.md_client.snap @@ -2,50 +2,14 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { createUser(user: UserInput!): User } -scalar PhoneNumber - type Query { users: [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/graphql-datasource-no-args.md_client.snap b/tests/core/snapshots/graphql-datasource-no-args.md_client.snap index 8b54eef276..72ffb65629 100644 --- a/tests/core/snapshots/graphql-datasource-no-args.md_client.snap +++ b/tests/core/snapshots/graphql-datasource-no-args.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { users_list: [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/graphql-datasource-query-directives.md_client.snap b/tests/core/snapshots/graphql-datasource-query-directives.md_client.snap index 53f9f3657f..52d67b233a 100644 --- a/tests/core/snapshots/graphql-datasource-query-directives.md_client.snap +++ b/tests/core/snapshots/graphql-datasource-query-directives.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/graphql-datasource-with-args.md_client.snap b/tests/core/snapshots/graphql-datasource-with-args.md_client.snap index 9b8a93f711..dd04e488ea 100644 --- a/tests/core/snapshots/graphql-datasource-with-args.md_client.snap +++ b/tests/core/snapshots/graphql-datasource-with-args.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int user: User @@ -36,18 +12,6 @@ type Query { user(id: Int): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/graphql-datasource-with-empty-enum.md_client.snap b/tests/core/snapshots/graphql-datasource-with-empty-enum.md_client.snap index 4e5030ca40..da73ff4865 100644 --- a/tests/core/snapshots/graphql-datasource-with-empty-enum.md_client.snap +++ b/tests/core/snapshots/graphql-datasource-with-empty-enum.md_client.snap @@ -2,35 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - enum EnumType { INFORMATION WARNING } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { severity: WithOptEnum! } @@ -39,18 +15,6 @@ type Query { post: Post } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type WithOptEnum { type: EnumType } diff --git a/tests/core/snapshots/graphql-datasource-with-mandatory-enum.md_client.snap b/tests/core/snapshots/graphql-datasource-with-mandatory-enum.md_client.snap index 5af38b8afd..37c2b0f512 100644 --- a/tests/core/snapshots/graphql-datasource-with-mandatory-enum.md_client.snap +++ b/tests/core/snapshots/graphql-datasource-with-mandatory-enum.md_client.snap @@ -2,35 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - enum EnumType { INFORMATION WARNING } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { severity: WithMandatoryEnum! } @@ -39,18 +15,6 @@ type Query { post: Post } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type WithMandatoryEnum { type: EnumType! } diff --git a/tests/core/snapshots/graphql-nested-datasource.md_client.snap b/tests/core/snapshots/graphql-nested-datasource.md_client.snap index dd5382feb0..ecef94a855 100644 --- a/tests/core/snapshots/graphql-nested-datasource.md_client.snap +++ b/tests/core/snapshots/graphql-nested-datasource.md_client.snap @@ -15,51 +15,15 @@ type B { y: String! } -scalar Bytes - type C { id: Int! x: String! } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { a: [A] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/grpc-batch.md_client.snap b/tests/core/snapshots/grpc-batch.md_client.snap index 7266ff1e6a..0e51757fea 100644 --- a/tests/core/snapshots/grpc-batch.md_client.snap +++ b/tests/core/snapshots/grpc-batch.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type News { body: String id: Int @@ -42,25 +20,11 @@ input NewsInput { title: String } -scalar PhoneNumber - type Query { news: NewsData! newsById(news: NewsInput!): News! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/grpc-error.md_client.snap b/tests/core/snapshots/grpc-error.md_client.snap index 7266ff1e6a..0e51757fea 100644 --- a/tests/core/snapshots/grpc-error.md_client.snap +++ b/tests/core/snapshots/grpc-error.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type News { body: String id: Int @@ -42,25 +20,11 @@ input NewsInput { title: String } -scalar PhoneNumber - type Query { news: NewsData! newsById(news: NewsInput!): News! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/grpc-json.md_client.snap b/tests/core/snapshots/grpc-json.md_client.snap index dabaa39af8..4103cad8e9 100644 --- a/tests/core/snapshots/grpc-json.md_client.snap +++ b/tests/core/snapshots/grpc-json.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type News { body: String id: Int @@ -35,26 +13,12 @@ input NewsInput { id: Int } -scalar PhoneNumber - type Query { newsById: News! newsByIdMustache(news: NewsInput!): News! newsByIdMustacheAndJson(news: NewsInput!): News! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/grpc-map.md_client.snap b/tests/core/snapshots/grpc-map.md_client.snap index ba0d623d34..d4b17d5402 100644 --- a/tests/core/snapshots/grpc-map.md_client.snap +++ b/tests/core/snapshots/grpc-map.md_client.snap @@ -2,46 +2,12 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - scalar JSON -scalar PhoneNumber - type Query { map__MapService__GetMap(mapRequest: map__MapRequest!): map__MapResponse! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - input map__MapRequest { map: JSON! } diff --git a/tests/core/snapshots/grpc-oneof.md_client.snap b/tests/core/snapshots/grpc-oneof.md_client.snap index a3bd64ef14..9c7f5bf3c3 100644 --- a/tests/core/snapshots/grpc-oneof.md_client.snap +++ b/tests/core/snapshots/grpc-oneof.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { oneof__OneOfService__GetOneOfVar0(request: oneof__Request__Var0__Var!): oneof__Response! oneof__OneOfService__GetOneOfVar1(request: oneof__Request__Var0__Var0!): oneof__Response! @@ -38,18 +14,6 @@ type Query { oneof__OneOfService__GetOneOfVar8(request: oneof__Request__Var__Var1!): oneof__Response! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type oneof__Command { command: String } diff --git a/tests/core/snapshots/grpc-override-url-from-upstream.md_client.snap b/tests/core/snapshots/grpc-override-url-from-upstream.md_client.snap index 7266ff1e6a..0e51757fea 100644 --- a/tests/core/snapshots/grpc-override-url-from-upstream.md_client.snap +++ b/tests/core/snapshots/grpc-override-url-from-upstream.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type News { body: String id: Int @@ -42,25 +20,11 @@ input NewsInput { title: String } -scalar PhoneNumber - type Query { news: NewsData! newsById(news: NewsInput!): News! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/grpc-proto-with-same-package.md_client.snap b/tests/core/snapshots/grpc-proto-with-same-package.md_client.snap index 44fabbd933..f768889b32 100644 --- a/tests/core/snapshots/grpc-proto-with-same-package.md_client.snap +++ b/tests/core/snapshots/grpc-proto-with-same-package.md_client.snap @@ -6,51 +6,15 @@ type Bar { bar: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { foo: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bar: Bar! foo: Foo! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/grpc-reflection.md_client.snap b/tests/core/snapshots/grpc-reflection.md_client.snap index 0a8aaf0d46..2a5f5b8c4c 100644 --- a/tests/core/snapshots/grpc-reflection.md_client.snap +++ b/tests/core/snapshots/grpc-reflection.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type News { body: String id: Int @@ -36,8 +14,6 @@ type NewsData { news: [News] } -scalar PhoneNumber - type Query { news: NewsData! } @@ -48,18 +24,6 @@ enum Status { PUBLISHED } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/grpc-simple.md_client.snap b/tests/core/snapshots/grpc-simple.md_client.snap index 221a0586b6..24a54d50fd 100644 --- a/tests/core/snapshots/grpc-simple.md_client.snap +++ b/tests/core/snapshots/grpc-simple.md_client.snap @@ -2,28 +2,8 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - scalar Empty -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { deleteNews(news: NewsId!): Empty! } @@ -50,25 +30,11 @@ input NewsInput { title: String } -scalar PhoneNumber - type Query { news: NewsData! newsById(news: NewsInput!): News! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/grpc-url-from-upstream.md_client.snap b/tests/core/snapshots/grpc-url-from-upstream.md_client.snap index 7266ff1e6a..0e51757fea 100644 --- a/tests/core/snapshots/grpc-url-from-upstream.md_client.snap +++ b/tests/core/snapshots/grpc-url-from-upstream.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type News { body: String id: Int @@ -42,25 +20,11 @@ input NewsInput { title: String } -scalar PhoneNumber - type Query { news: NewsData! newsById(news: NewsInput!): News! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/http-select.md_client.snap b/tests/core/snapshots/http-select.md_client.snap index 18eb763eb3..d8e1dae7c9 100644 --- a/tests/core/snapshots/http-select.md_client.snap +++ b/tests/core/snapshots/http-select.md_client.snap @@ -2,52 +2,16 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - type Company { catchPhrase: String! name: String! } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { userCompany(id: Int!): Company userDetails(id: Int!): UserDetails } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type UserDetails { city: String! id: Int! diff --git a/tests/core/snapshots/https.md_client.snap b/tests/core/snapshots/https.md_client.snap index 5762a4b2c6..2215e476ec 100644 --- a/tests/core/snapshots/https.md_client.snap +++ b/tests/core/snapshots/https.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { firstUser: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/inline-field.md_client.snap b/tests/core/snapshots/inline-field.md_client.snap index 36c0dfa21b..63bde3baf7 100644 --- a/tests/core/snapshots/inline-field.md_client.snap +++ b/tests/core/snapshots/inline-field.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { address: String } diff --git a/tests/core/snapshots/inline-index-list.md_client.snap b/tests/core/snapshots/inline-index-list.md_client.snap index 815636591d..24efe190ff 100644 --- a/tests/core/snapshots/inline-index-list.md_client.snap +++ b/tests/core/snapshots/inline-index-list.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { username: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/inline-many-list.md_client.snap b/tests/core/snapshots/inline-many-list.md_client.snap index 4e3fb0ed22..09e87d9d02 100644 --- a/tests/core/snapshots/inline-many-list.md_client.snap +++ b/tests/core/snapshots/inline-many-list.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { u: U } @@ -37,18 +13,6 @@ type U { e: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/inline-many.md_client.snap b/tests/core/snapshots/inline-many.md_client.snap index 9060d1f1c1..7bc026e96f 100644 --- a/tests/core/snapshots/inline-many.md_client.snap +++ b/tests/core/snapshots/inline-many.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { city: String name: String diff --git a/tests/core/snapshots/introspection-query-with-disabled-introspection.md_client.snap b/tests/core/snapshots/introspection-query-with-disabled-introspection.md_client.snap index 76b73fd3c9..6d42200537 100644 --- a/tests/core/snapshots/introspection-query-with-disabled-introspection.md_client.snap +++ b/tests/core/snapshots/introspection-query-with-disabled-introspection.md_client.snap @@ -2,46 +2,12 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - scalar Date -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { me: User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { birthday: Date id: String diff --git a/tests/core/snapshots/io-cache.md_client.snap b/tests/core/snapshots/io-cache.md_client.snap index e9fb99f325..c0f0d1dae9 100644 --- a/tests/core/snapshots/io-cache.md_client.snap +++ b/tests/core/snapshots/io-cache.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String! id: Int! @@ -38,18 +14,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/jit-enum-array.md_client.snap b/tests/core/snapshots/jit-enum-array.md_client.snap index 36aecbc129..6248f5bfaa 100644 --- a/tests/core/snapshots/jit-enum-array.md_client.snap +++ b/tests/core/snapshots/jit-enum-array.md_client.snap @@ -2,56 +2,20 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - type DTA { departments: [Department] } -scalar Date - -scalar DateTime - enum Department { BLUE ENGINEERING MARKETING } -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { color: DTA } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/js-directive.md_client.snap b/tests/core/snapshots/js-directive.md_client.snap index a541d9a0c3..8cf0b9181a 100644 --- a/tests/core/snapshots/js-directive.md_client.snap +++ b/tests/core/snapshots/js-directive.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { hello: User! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/jsonplaceholder-call-post.md_client.snap b/tests/core/snapshots/jsonplaceholder-call-post.md_client.snap index cf082f55ee..e86a8ddb4b 100644 --- a/tests/core/snapshots/jsonplaceholder-call-post.md_client.snap +++ b/tests/core/snapshots/jsonplaceholder-call-post.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int! title: String! @@ -39,18 +15,6 @@ type Query { users: [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/modified-field.md_client.snap b/tests/core/snapshots/modified-field.md_client.snap index 35380f88b6..52961967eb 100644 --- a/tests/core/snapshots/modified-field.md_client.snap +++ b/tests/core/snapshots/modified-field.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { fullname: String } diff --git a/tests/core/snapshots/mutation-put.md_client.snap b/tests/core/snapshots/mutation-put.md_client.snap index a036b8e134..68ec1619a5 100644 --- a/tests/core/snapshots/mutation-put.md_client.snap +++ b/tests/core/snapshots/mutation-put.md_client.snap @@ -2,34 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { insertPost(input: PostInput!): Post } -scalar PhoneNumber - type Post { body: String id: Int @@ -48,18 +24,6 @@ type Query { firstUser: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/mutation.md_client.snap b/tests/core/snapshots/mutation.md_client.snap index 21be43706e..1cf97bc546 100644 --- a/tests/core/snapshots/mutation.md_client.snap +++ b/tests/core/snapshots/mutation.md_client.snap @@ -2,34 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { insertPost(input: PostInput): Post } -scalar PhoneNumber - type Post { body: String id: Int @@ -47,18 +23,6 @@ type Query { firstUser: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/n-plus-one-list.md_client.snap b/tests/core/snapshots/n-plus-one-list.md_client.snap index b8402762dc..6d9f4383a0 100644 --- a/tests/core/snapshots/n-plus-one-list.md_client.snap +++ b/tests/core/snapshots/n-plus-one-list.md_client.snap @@ -8,53 +8,17 @@ type Bar { id: Int! } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { bar: Bar id: Int! name: String! } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bars: [Bar] foos: [Foo] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/n-plus-one.md_client.snap b/tests/core/snapshots/n-plus-one.md_client.snap index b8402762dc..6d9f4383a0 100644 --- a/tests/core/snapshots/n-plus-one.md_client.snap +++ b/tests/core/snapshots/n-plus-one.md_client.snap @@ -8,53 +8,17 @@ type Bar { id: Int! } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { bar: Bar id: Int! name: String! } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bars: [Bar] foos: [Foo] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/nested-objects.md_client.snap b/tests/core/snapshots/nested-objects.md_client.snap index 8073c9a6f3..f429615b8a 100644 --- a/tests/core/snapshots/nested-objects.md_client.snap +++ b/tests/core/snapshots/nested-objects.md_client.snap @@ -7,51 +7,15 @@ type Address { street: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Geo { lat: String lng: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { address: Address } diff --git a/tests/core/snapshots/nested-recursive-types.md_client.snap b/tests/core/snapshots/nested-recursive-types.md_client.snap index 5408c227aa..712e24e7b9 100644 --- a/tests/core/snapshots/nested-recursive-types.md_client.snap +++ b/tests/core/snapshots/nested-recursive-types.md_client.snap @@ -2,8 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - type Connection { nested: NestedUser type: String @@ -14,26 +12,6 @@ input ConnectionInput { type: String } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { createUser(user: UserInput): User } @@ -46,24 +24,10 @@ input NestedUserInput { user: UserInput } -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { connections: [Connection] id: Int! diff --git a/tests/core/snapshots/nesting-level3.md_client.snap b/tests/core/snapshots/nesting-level3.md_client.snap index cb495897fa..b1c4dd47f4 100644 --- a/tests/core/snapshots/nesting-level3.md_client.snap +++ b/tests/core/snapshots/nesting-level3.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -42,18 +18,6 @@ type Todo { completed: Boolean } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { email: String! id: Int! diff --git a/tests/core/snapshots/nullable-arg-query.md_client.snap b/tests/core/snapshots/nullable-arg-query.md_client.snap index 7028ca9639..102efec113 100644 --- a/tests/core/snapshots/nullable-arg-query.md_client.snap +++ b/tests/core/snapshots/nullable-arg-query.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { users(id: ID): [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: ID! name: String! diff --git a/tests/core/snapshots/omit-index-list.md_client.snap b/tests/core/snapshots/omit-index-list.md_client.snap index 815636591d..24efe190ff 100644 --- a/tests/core/snapshots/omit-index-list.md_client.snap +++ b/tests/core/snapshots/omit-index-list.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { username: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/omit-many.md_client.snap b/tests/core/snapshots/omit-many.md_client.snap index 784014d2eb..87b249b134 100644 --- a/tests/core/snapshots/omit-many.md_client.snap +++ b/tests/core/snapshots/omit-many.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { complements: [String] name: String diff --git a/tests/core/snapshots/omit-resolved-by-parent.md_client.snap b/tests/core/snapshots/omit-resolved-by-parent.md_client.snap index 36c0dfa21b..63bde3baf7 100644 --- a/tests/core/snapshots/omit-resolved-by-parent.md_client.snap +++ b/tests/core/snapshots/omit-resolved-by-parent.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { address: String } diff --git a/tests/core/snapshots/recursive-types-json.md_client.snap b/tests/core/snapshots/recursive-types-json.md_client.snap index b3dadbd773..d88545ef2e 100644 --- a/tests/core/snapshots/recursive-types-json.md_client.snap +++ b/tests/core/snapshots/recursive-types-json.md_client.snap @@ -2,8 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - type Connection { type: String user: User @@ -14,48 +12,14 @@ input ConnectionInput { user: UserInput } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { createUser(user: UserInput): User } -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { connections: [Connection] id: Int! diff --git a/tests/core/snapshots/recursive-types.md_client.snap b/tests/core/snapshots/recursive-types.md_client.snap index edc4a1c0b2..b8b9e5d3c5 100644 --- a/tests/core/snapshots/recursive-types.md_client.snap +++ b/tests/core/snapshots/recursive-types.md_client.snap @@ -2,8 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - type Connection { type: String user: User @@ -14,48 +12,14 @@ input ConnectionInput { user: UserInput } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { createUser(user: UserInput): User } -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { connections: [Connection] id: Int! diff --git a/tests/core/snapshots/ref-other-nested.md_client.snap b/tests/core/snapshots/ref-other-nested.md_client.snap index 07ef85d113..19ae040d8e 100644 --- a/tests/core/snapshots/ref-other-nested.md_client.snap +++ b/tests/core/snapshots/ref-other-nested.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { firstUser: User1 } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/ref-other.md_client.snap b/tests/core/snapshots/ref-other.md_client.snap index bb916f66ea..68645d3a5d 100644 --- a/tests/core/snapshots/ref-other.md_client.snap +++ b/tests/core/snapshots/ref-other.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { firstUser: User1 } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/related-fields-recursive.md_client.snap b/tests/core/snapshots/related-fields-recursive.md_client.snap index 229774a65b..0d98a90b7b 100644 --- a/tests/core/snapshots/related-fields-recursive.md_client.snap +++ b/tests/core/snapshots/related-fields-recursive.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type NodeA { name: String nodeB: NodeB @@ -34,24 +12,10 @@ type NodeB { nodeA: NodeA } -scalar PhoneNumber - type Query { queryNodeA: [NodeA] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/rename-field.md_client.snap b/tests/core/snapshots/rename-field.md_client.snap index f4470eb49d..9dba1fc45e 100644 --- a/tests/core/snapshots/rename-field.md_client.snap +++ b/tests/core/snapshots/rename-field.md_client.snap @@ -2,47 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user1: User user2: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { name: String } diff --git a/tests/core/snapshots/request-to-upstream-batching.md_client.snap b/tests/core/snapshots/request-to-upstream-batching.md_client.snap index ae02ec737a..cbcfe5da06 100644 --- a/tests/core/snapshots/request-to-upstream-batching.md_client.snap +++ b/tests/core/snapshots/request-to-upstream-batching.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/resolve-with-headers.md_client.snap b/tests/core/snapshots/resolve-with-headers.md_client.snap index ee241332ef..39d5b00ad3 100644 --- a/tests/core/snapshots/resolve-with-headers.md_client.snap +++ b/tests/core/snapshots/resolve-with-headers.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String! id: ID! @@ -37,18 +13,6 @@ type Query { post1: Post } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/resolve-with-vars.md_client.snap b/tests/core/snapshots/resolve-with-vars.md_client.snap index 69717cfed3..b72bcbad50 100644 --- a/tests/core/snapshots/resolve-with-vars.md_client.snap +++ b/tests/core/snapshots/resolve-with-vars.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/resolved-by-parent.md_client.snap b/tests/core/snapshots/resolved-by-parent.md_client.snap index 36c0dfa21b..63bde3baf7 100644 --- a/tests/core/snapshots/resolved-by-parent.md_client.snap +++ b/tests/core/snapshots/resolved-by-parent.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { address: String } diff --git a/tests/core/snapshots/rest-api-error.md_client.snap b/tests/core/snapshots/rest-api-error.md_client.snap index d5bd2c751f..f0cf6e9796 100644 --- a/tests/core/snapshots/rest-api-error.md_client.snap +++ b/tests/core/snapshots/rest-api-error.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/rest-api-post.md_client.snap b/tests/core/snapshots/rest-api-post.md_client.snap index d5bd2c751f..f0cf6e9796 100644 --- a/tests/core/snapshots/rest-api-post.md_client.snap +++ b/tests/core/snapshots/rest-api-post.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/rest-api.md_client.snap b/tests/core/snapshots/rest-api.md_client.snap index d5bd2c751f..f0cf6e9796 100644 --- a/tests/core/snapshots/rest-api.md_client.snap +++ b/tests/core/snapshots/rest-api.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/routes-param-on-server-directive.md_client.snap b/tests/core/snapshots/routes-param-on-server-directive.md_client.snap index e05605ebef..c06f0e4862 100644 --- a/tests/core/snapshots/routes-param-on-server-directive.md_client.snap +++ b/tests/core/snapshots/routes-param-on-server-directive.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { users: [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { name: String } diff --git a/tests/core/snapshots/showcase.md_client.snap b/tests/core/snapshots/showcase.md_client.snap index 9d6d709087..cf0792fa59 100644 --- a/tests/core/snapshots/showcase.md_client.snap +++ b/tests/core/snapshots/showcase.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { not_user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { not_id: Int not_name: String diff --git a/tests/core/snapshots/simple-graphql.md_client.snap b/tests/core/snapshots/simple-graphql.md_client.snap index 53f9f3657f..52d67b233a 100644 --- a/tests/core/snapshots/simple-graphql.md_client.snap +++ b/tests/core/snapshots/simple-graphql.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/simple-query.md_client.snap b/tests/core/snapshots/simple-query.md_client.snap index 5762a4b2c6..2215e476ec 100644 --- a/tests/core/snapshots/simple-query.md_client.snap +++ b/tests/core/snapshots/simple-query.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { firstUser: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/test-add-field-list.md_client.snap b/tests/core/snapshots/test-add-field-list.md_client.snap index 83d4202a6f..fc75dbc1c8 100644 --- a/tests/core/snapshots/test-add-field-list.md_client.snap +++ b/tests/core/snapshots/test-add-field-list.md_client.snap @@ -10,51 +10,15 @@ type B { c: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { a: A } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { b: B foo: [Foo] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-add-field.md_client.snap b/tests/core/snapshots/test-add-field.md_client.snap index 131d4de186..9671af581c 100644 --- a/tests/core/snapshots/test-add-field.md_client.snap +++ b/tests/core/snapshots/test-add-field.md_client.snap @@ -10,51 +10,15 @@ type B { c: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { a: A } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { b: B foo: Foo } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-add-link-to-empty-config.md_client.snap b/tests/core/snapshots/test-add-link-to-empty-config.md_client.snap index 153a6cf203..aef4222523 100644 --- a/tests/core/snapshots/test-add-link-to-empty-config.md_client.snap +++ b/tests/core/snapshots/test-add-link-to-empty-config.md_client.snap @@ -2,52 +2,16 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - enum Foo { BAR BAZ } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: Foo hello: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-alias-on-enum.md_client.snap b/tests/core/snapshots/test-alias-on-enum.md_client.snap index 21dadeb53d..ba148eb921 100644 --- a/tests/core/snapshots/test-alias-on-enum.md_client.snap +++ b/tests/core/snapshots/test-alias-on-enum.md_client.snap @@ -2,56 +2,20 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - type DTA { departments: [Department] } -scalar Date - -scalar DateTime - enum Department { ENGINEERING HUMAN_RESOURCE MARKETING } -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { color: DTA } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-batching-group-by.md_client.snap b/tests/core/snapshots/test-batching-group-by.md_client.snap index 7d97e582e4..fd9e443470 100644 --- a/tests/core/snapshots/test-batching-group-by.md_client.snap +++ b/tests/core/snapshots/test-batching-group-by.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -38,18 +14,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/test-cache.md_client.snap b/tests/core/snapshots/test-cache.md_client.snap index 53f9f3657f..52d67b233a 100644 --- a/tests/core/snapshots/test-cache.md_client.snap +++ b/tests/core/snapshots/test-cache.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/test-custom-scalar.md_client.snap b/tests/core/snapshots/test-custom-scalar.md_client.snap index ca6fe919be..2f96842cca 100644 --- a/tests/core/snapshots/test-custom-scalar.md_client.snap +++ b/tests/core/snapshots/test-custom-scalar.md_client.snap @@ -2,48 +2,12 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - scalar Json -scalar PhoneNumber - type Query { foo: [Json] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-custom-types.md_client.snap b/tests/core/snapshots/test-custom-types.md_client.snap index dd7a49366f..13bc848be8 100644 --- a/tests/core/snapshots/test-custom-types.md_client.snap +++ b/tests/core/snapshots/test-custom-types.md_client.snap @@ -2,34 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mut { insertPost(input: PostInput): Post } -scalar PhoneNumber - type Post { body: String id: Int @@ -47,18 +23,6 @@ type Que { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Que mutation: Mut diff --git a/tests/core/snapshots/test-dbl-usage-many.md_client.snap b/tests/core/snapshots/test-dbl-usage-many.md_client.snap index 877c230d5d..79f3866ae5 100644 --- a/tests/core/snapshots/test-dbl-usage-many.md_client.snap +++ b/tests/core/snapshots/test-dbl-usage-many.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: ID! title: String! @@ -41,18 +17,6 @@ type Query { user(input: UserInput!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: ID! name: String! diff --git a/tests/core/snapshots/test-description-many.md_client.snap b/tests/core/snapshots/test-description-many.md_client.snap index 07d0863a50..273deb1aa2 100644 --- a/tests/core/snapshots/test-description-many.md_client.snap +++ b/tests/core/snapshots/test-description-many.md_client.snap @@ -9,30 +9,6 @@ type Bar { baz: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { """ This is test @@ -40,18 +16,6 @@ type Query { foo: Bar } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-enable-jit.md_client.snap b/tests/core/snapshots/test-enable-jit.md_client.snap index 7ca14444b0..f9f9daa9fa 100644 --- a/tests/core/snapshots/test-enable-jit.md_client.snap +++ b/tests/core/snapshots/test-enable-jit.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int! title: String! @@ -37,18 +13,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String! diff --git a/tests/core/snapshots/test-enum-aliases.md_client.snap b/tests/core/snapshots/test-enum-aliases.md_client.snap index 60eae1097d..61835c8112 100644 --- a/tests/core/snapshots/test-enum-aliases.md_client.snap +++ b/tests/core/snapshots/test-enum-aliases.md_client.snap @@ -2,51 +2,15 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - enum Foo { BAR BAZ } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: Foo } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-enum-default.md_client.snap b/tests/core/snapshots/test-enum-default.md_client.snap index 798d5ef1aa..83d4755a05 100644 --- a/tests/core/snapshots/test-enum-default.md_client.snap +++ b/tests/core/snapshots/test-enum-default.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type News { foo: Status id: Int @@ -33,8 +11,6 @@ type NewsData { news: [News] } -scalar PhoneNumber - type Query { news: NewsData! } @@ -45,18 +21,6 @@ enum Status { PUBLISHED } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-enum-description.md_client.snap b/tests/core/snapshots/test-enum-description.md_client.snap index 6766393ab3..e9c648fde9 100644 --- a/tests/core/snapshots/test-enum-description.md_client.snap +++ b/tests/core/snapshots/test-enum-description.md_client.snap @@ -2,16 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - """ Description of enum Foo """ @@ -20,36 +10,10 @@ enum Foo { BAZ } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo(val: String!): Foo } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-enum.md_client.snap b/tests/core/snapshots/test-enum.md_client.snap index 7f45706850..e9da37a23f 100644 --- a/tests/core/snapshots/test-enum.md_client.snap +++ b/tests/core/snapshots/test-enum.md_client.snap @@ -2,51 +2,15 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - enum Foo { BAR BAZ } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo(val: String!): Foo } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-expr-scalar-as-string.md_client.snap b/tests/core/snapshots/test-expr-scalar-as-string.md_client.snap index 66c36890ce..88402b4e2f 100644 --- a/tests/core/snapshots/test-expr-scalar-as-string.md_client.snap +++ b/tests/core/snapshots/test-expr-scalar-as-string.md_client.snap @@ -2,16 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Entry { arr: String bool: String @@ -21,18 +11,6 @@ type Entry { str: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Nested { arr: String bool: String @@ -41,24 +19,10 @@ type Nested { str: String } -scalar PhoneNumber - type Query { entry: Entry } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-expr-with-mustache.md_client.snap b/tests/core/snapshots/test-expr-with-mustache.md_client.snap index 5db33d07fe..31ed790efb 100644 --- a/tests/core/snapshots/test-expr-with-mustache.md_client.snap +++ b/tests/core/snapshots/test-expr-with-mustache.md_client.snap @@ -15,50 +15,14 @@ type BC { g: Boolean } -scalar Bytes - type D { e: Int } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { a: A } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-expr.md_client.snap b/tests/core/snapshots/test-expr.md_client.snap index 337f2d604b..cf7d4e49b2 100644 --- a/tests/core/snapshots/test-expr.md_client.snap +++ b/tests/core/snapshots/test-expr.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { hello: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-graphqlsource.md_client.snap b/tests/core/snapshots/test-graphqlsource.md_client.snap index b68120b847..ab17028638 100644 --- a/tests/core/snapshots/test-graphqlsource.md_client.snap +++ b/tests/core/snapshots/test-graphqlsource.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int! user: User @@ -36,18 +12,6 @@ type Query { post(id: Int!): Post } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/test-grpc.md_client.snap b/tests/core/snapshots/test-grpc.md_client.snap index 4c9a55a8d7..c2a0078373 100644 --- a/tests/core/snapshots/test-grpc.md_client.snap +++ b/tests/core/snapshots/test-grpc.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type News { body: String id: Int @@ -42,26 +20,12 @@ input NewsInput { title: String } -scalar PhoneNumber - type Query { news: NewsData! newsById(news: NewsInput!): News! newsByIdBatch(news: NewsInput!): News! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-http-baseurl.md_client.snap b/tests/core/snapshots/test-http-baseurl.md_client.snap index b4f1cebaf1..72c16c7198 100644 --- a/tests/core/snapshots/test-http-baseurl.md_client.snap +++ b/tests/core/snapshots/test-http-baseurl.md_client.snap @@ -2,47 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bar: String foo: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-http-batchKey.md_client.snap b/tests/core/snapshots/test-http-batchKey.md_client.snap index a09ec544fc..ba473f8b6c 100644 --- a/tests/core/snapshots/test-http-batchKey.md_client.snap +++ b/tests/core/snapshots/test-http-batchKey.md_client.snap @@ -7,16 +7,6 @@ type Bar { id: ID! } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { barId: String! bars: [Bar!]! @@ -28,36 +18,10 @@ type FooResponse { foos: [Foo!]! } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foos: FooResponse } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-http-headers.md_client.snap b/tests/core/snapshots/test-http-headers.md_client.snap index f3d3cd48e5..893ac9057a 100644 --- a/tests/core/snapshots/test-http-headers.md_client.snap +++ b/tests/core/snapshots/test-http-headers.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-http-tmpl.md_client.snap b/tests/core/snapshots/test-http-tmpl.md_client.snap index 6cdffae530..8fb16284cc 100644 --- a/tests/core/snapshots/test-http-tmpl.md_client.snap +++ b/tests/core/snapshots/test-http-tmpl.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int user: User @@ -36,18 +12,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/test-http-with-mustache-expr.md_client.snap b/tests/core/snapshots/test-http-with-mustache-expr.md_client.snap index bc45ff4164..9524d6fce7 100644 --- a/tests/core/snapshots/test-http-with-mustache-expr.md_client.snap +++ b/tests/core/snapshots/test-http-with-mustache-expr.md_client.snap @@ -12,50 +12,14 @@ type BC { f: Boolean } -scalar Bytes - type D { e: Int } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { a: A } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-http.md_client.snap b/tests/core/snapshots/test-http.md_client.snap index 69e48b366c..71177707fd 100644 --- a/tests/core/snapshots/test-http.md_client.snap +++ b/tests/core/snapshots/test-http.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/test-inline-list.md_client.snap b/tests/core/snapshots/test-inline-list.md_client.snap index 89f20c2fb3..b1001b9d44 100644 --- a/tests/core/snapshots/test-inline-list.md_client.snap +++ b/tests/core/snapshots/test-inline-list.md_client.snap @@ -6,46 +6,10 @@ type B { c: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: B } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-inline.md_client.snap b/tests/core/snapshots/test-inline.md_client.snap index 89f20c2fb3..b1001b9d44 100644 --- a/tests/core/snapshots/test-inline.md_client.snap +++ b/tests/core/snapshots/test-inline.md_client.snap @@ -6,46 +6,10 @@ type B { c: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: B } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-input-documentation.md_client.snap b/tests/core/snapshots/test-input-documentation.md_client.snap index 08bcea7ded..4c1ac2ef1d 100644 --- a/tests/core/snapshots/test-input-documentation.md_client.snap +++ b/tests/core/snapshots/test-input-documentation.md_client.snap @@ -2,16 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - """ Test input documentation """ @@ -22,24 +12,10 @@ input Foo { id: Int } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Mutation { testDocumentation(input: Foo!): Post } -scalar PhoneNumber - type Post { body: String id: Int! @@ -53,18 +29,6 @@ type Query { postFromFoo(id: Int!): Post } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query mutation: Mutation diff --git a/tests/core/snapshots/test-input-out.md_client.snap b/tests/core/snapshots/test-input-out.md_client.snap index 0ac4445c57..0ebb9fa91a 100644 --- a/tests/core/snapshots/test-input-out.md_client.snap +++ b/tests/core/snapshots/test-input-out.md_client.snap @@ -2,55 +2,19 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - input Filter { a: Int } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type MyType { id: String! name: String } -scalar PhoneNumber - type Query { queryTest(filter: Filter): [MyType] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-input-with-arg-out.md_client.snap b/tests/core/snapshots/test-input-with-arg-out.md_client.snap index a9bd87e0c8..58bdb48805 100644 --- a/tests/core/snapshots/test-input-with-arg-out.md_client.snap +++ b/tests/core/snapshots/test-input-with-arg-out.md_client.snap @@ -2,40 +2,16 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - input IntFilter { i: Int } -scalar JSON - type MyType { id: String! name(sf: StringFilter): String num(if: IntFilter): Int } -scalar PhoneNumber - type Query { queryTest(filter: StringFilter): [MyType] } @@ -44,18 +20,6 @@ input StringFilter { s: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-interface-from-json.md_client.snap b/tests/core/snapshots/test-interface-from-json.md_client.snap index 26708138ea..ed99fa7b6d 100644 --- a/tests/core/snapshots/test-interface-from-json.md_client.snap +++ b/tests/core/snapshots/test-interface-from-json.md_client.snap @@ -7,50 +7,14 @@ type B implements IA { b: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - interface IA { a: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bar: B } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-interface-result.md_client.snap b/tests/core/snapshots/test-interface-result.md_client.snap index 145995bcc2..6d3262740c 100644 --- a/tests/core/snapshots/test-interface-result.md_client.snap +++ b/tests/core/snapshots/test-interface-result.md_client.snap @@ -7,50 +7,14 @@ type B implements IA { b: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - interface IA { a: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bar: IA } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-interface.md_client.snap b/tests/core/snapshots/test-interface.md_client.snap index 26708138ea..ed99fa7b6d 100644 --- a/tests/core/snapshots/test-interface.md_client.snap +++ b/tests/core/snapshots/test-interface.md_client.snap @@ -7,50 +7,14 @@ type B implements IA { b: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - interface IA { a: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bar: B } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-js-multi-onRequest-handlers.md_client.snap b/tests/core/snapshots/test-js-multi-onRequest-handlers.md_client.snap index b4f1cebaf1..72c16c7198 100644 --- a/tests/core/snapshots/test-js-multi-onRequest-handlers.md_client.snap +++ b/tests/core/snapshots/test-js-multi-onRequest-handlers.md_client.snap @@ -2,47 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bar: String foo: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-js-request-response-2.md_client.snap b/tests/core/snapshots/test-js-request-response-2.md_client.snap index 3b5b5fc005..25a6202924 100644 --- a/tests/core/snapshots/test-js-request-response-2.md_client.snap +++ b/tests/core/snapshots/test-js-request-response-2.md_client.snap @@ -2,47 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { hello: String hi: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-js-request-response.md_client.snap b/tests/core/snapshots/test-js-request-response.md_client.snap index 3b5b5fc005..25a6202924 100644 --- a/tests/core/snapshots/test-js-request-response.md_client.snap +++ b/tests/core/snapshots/test-js-request-response.md_client.snap @@ -2,47 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { hello: String hi: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-link-support.md_client.snap b/tests/core/snapshots/test-link-support.md_client.snap index 3127ff26a7..4fae1e7ef2 100644 --- a/tests/core/snapshots/test-link-support.md_client.snap +++ b/tests/core/snapshots/test-link-support.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type News { id: Int } @@ -32,24 +10,10 @@ input NewsInput { id: Int } -scalar PhoneNumber - type Query { newsById(news: NewsInput!): News! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-list-args.md_client.snap b/tests/core/snapshots/test-list-args.md_client.snap index 0948784533..a8cfceb734 100644 --- a/tests/core/snapshots/test-list-args.md_client.snap +++ b/tests/core/snapshots/test-list-args.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { f1(q: [Int!]!): T1 } @@ -34,18 +10,6 @@ type T1 { numbers: [Int] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-merge-right-with-link-config.md_client.snap b/tests/core/snapshots/test-merge-right-with-link-config.md_client.snap index 50f7589d65..20622b2fcc 100644 --- a/tests/core/snapshots/test-merge-right-with-link-config.md_client.snap +++ b/tests/core/snapshots/test-merge-right-with-link-config.md_client.snap @@ -2,50 +2,14 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { bar: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: Foo } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-merge-server-sdl.md_client.snap b/tests/core/snapshots/test-merge-server-sdl.md_client.snap index 69e48b366c..71177707fd 100644 --- a/tests/core/snapshots/test-merge-server-sdl.md_client.snap +++ b/tests/core/snapshots/test-merge-server-sdl.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/test-modify.md_client.snap b/tests/core/snapshots/test-modify.md_client.snap index 7e415ac85a..ef63ab86b3 100644 --- a/tests/core/snapshots/test-modify.md_client.snap +++ b/tests/core/snapshots/test-modify.md_client.snap @@ -2,50 +2,14 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - input Foo { bar: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { data(input: Foo): String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-multi-interface.md_client.snap b/tests/core/snapshots/test-multi-interface.md_client.snap index 0ba60fa5fb..3164ef9e7e 100644 --- a/tests/core/snapshots/test-multi-interface.md_client.snap +++ b/tests/core/snapshots/test-multi-interface.md_client.snap @@ -7,16 +7,6 @@ type B implements IA & IB { b: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - interface IA { a: String } @@ -25,36 +15,10 @@ interface IB { b: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bar: B } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-multiple-config-types.md_client.snap b/tests/core/snapshots/test-multiple-config-types.md_client.snap index 3205770bea..b4fa7fb1e0 100644 --- a/tests/core/snapshots/test-multiple-config-types.md_client.snap +++ b/tests/core/snapshots/test-multiple-config-types.md_client.snap @@ -2,56 +2,20 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - input Input { id: Int name: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Output { id: Int name: String } -scalar PhoneNumber - type Query { bar(input: Input): Output } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-nested-input.md_client.snap b/tests/core/snapshots/test-nested-input.md_client.snap index a44bf59f43..4987f728f2 100644 --- a/tests/core/snapshots/test-nested-input.md_client.snap +++ b/tests/core/snapshots/test-nested-input.md_client.snap @@ -10,8 +10,6 @@ input B { c: C } -scalar Bytes - input C { d: D } @@ -20,44 +18,10 @@ input D { e: Int } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { a(a: A!): X } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type X { a: String } diff --git a/tests/core/snapshots/test-nested-link.md_client.snap b/tests/core/snapshots/test-nested-link.md_client.snap index 21defdfdc6..a1839b52b8 100644 --- a/tests/core/snapshots/test-nested-link.md_client.snap +++ b/tests/core/snapshots/test-nested-link.md_client.snap @@ -2,35 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - enum Foo { BAR BAZ } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int! user: User @@ -42,18 +18,6 @@ type Query { post(id: Int!): Post } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/test-nested-value.md_client.snap b/tests/core/snapshots/test-nested-value.md_client.snap index 60951609db..57bd37c184 100644 --- a/tests/core/snapshots/test-nested-value.md_client.snap +++ b/tests/core/snapshots/test-nested-value.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int user: User! @@ -35,18 +11,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int! name: String diff --git a/tests/core/snapshots/test-null-in-array.md_client.snap b/tests/core/snapshots/test-null-in-array.md_client.snap index 7b475ab97f..4ca0f268e9 100644 --- a/tests/core/snapshots/test-null-in-array.md_client.snap +++ b/tests/core/snapshots/test-null-in-array.md_client.snap @@ -2,51 +2,15 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - type Company { id: ID name: String } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { hi(id: ID!): [Company] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-null-in-object.md_client.snap b/tests/core/snapshots/test-null-in-object.md_client.snap index ededdfcccd..beb3b12a9a 100644 --- a/tests/core/snapshots/test-null-in-object.md_client.snap +++ b/tests/core/snapshots/test-null-in-object.md_client.snap @@ -2,51 +2,15 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - type Company { id: ID name: String } -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { hi(id: ID!): Company } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-omit-list.md_client.snap b/tests/core/snapshots/test-omit-list.md_client.snap index 89f20c2fb3..b1001b9d44 100644 --- a/tests/core/snapshots/test-omit-list.md_client.snap +++ b/tests/core/snapshots/test-omit-list.md_client.snap @@ -6,46 +6,10 @@ type B { c: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: B } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-omit.md_client.snap b/tests/core/snapshots/test-omit.md_client.snap index 89f20c2fb3..b1001b9d44 100644 --- a/tests/core/snapshots/test-omit.md_client.snap +++ b/tests/core/snapshots/test-omit.md_client.snap @@ -6,46 +6,10 @@ type B { c: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: B } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-optional-key-skip-empty.md_client.snap b/tests/core/snapshots/test-optional-key-skip-empty.md_client.snap index 1a157c8e4a..b6e374918e 100644 --- a/tests/core/snapshots/test-optional-key-skip-empty.md_client.snap +++ b/tests/core/snapshots/test-optional-key-skip-empty.md_client.snap @@ -6,52 +6,16 @@ type Bar { id: Int } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { bar: Bar id: Int! tag: String } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foos: [Foo] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-params-as-body.md_client.snap b/tests/core/snapshots/test-params-as-body.md_client.snap index 603c7ad0cc..28e6b0d379 100644 --- a/tests/core/snapshots/test-params-as-body.md_client.snap +++ b/tests/core/snapshots/test-params-as-body.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { firstUser(id: Int, name: String): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/test-query-documentation.md_client.snap b/tests/core/snapshots/test-query-documentation.md_client.snap index b51b1b2b81..3de62904ae 100644 --- a/tests/core/snapshots/test-query-documentation.md_client.snap +++ b/tests/core/snapshots/test-query-documentation.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { """ This is test @@ -33,18 +9,6 @@ type Query { foo: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-query.md_client.snap b/tests/core/snapshots/test-query.md_client.snap index f3d3cd48e5..893ac9057a 100644 --- a/tests/core/snapshots/test-query.md_client.snap +++ b/tests/core/snapshots/test-query.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-ref-other.md_client.snap b/tests/core/snapshots/test-ref-other.md_client.snap index d68c660cb0..13bd3067b7 100644 --- a/tests/core/snapshots/test-ref-other.md_client.snap +++ b/tests/core/snapshots/test-ref-other.md_client.snap @@ -2,34 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type InPost { get: [Post] } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int! userId: Int! @@ -39,18 +15,6 @@ type Query { posts: InPost } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-required-fields.md_client.snap b/tests/core/snapshots/test-required-fields.md_client.snap index 0d38a402d0..da516ad64a 100644 --- a/tests/core/snapshots/test-required-fields.md_client.snap +++ b/tests/core/snapshots/test-required-fields.md_client.snap @@ -2,35 +2,11 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { bar: String! id: Int! } -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { basicFieldMissing: Foo! basicMissing: Foo! @@ -56,18 +32,6 @@ type Query { relaxedPresent: Foo } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-scalars-builtin.md_client.snap b/tests/core/snapshots/test-scalars-builtin.md_client.snap index 769bb4ac8c..89aecbaf7d 100644 --- a/tests/core/snapshots/test-scalars-builtin.md_client.snap +++ b/tests/core/snapshots/test-scalars-builtin.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { bool(x: Boolean!): Boolean! float(x: Float!): Float! @@ -34,18 +10,6 @@ type Query { string(x: String!): String! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-scalars-integers.md_client.snap b/tests/core/snapshots/test-scalars-integers.md_client.snap index b687d11f87..fa0535a2d2 100644 --- a/tests/core/snapshots/test-scalars-integers.md_client.snap +++ b/tests/core/snapshots/test-scalars-integers.md_client.snap @@ -2,16 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - scalar Int128 scalar Int16 @@ -22,10 +12,6 @@ scalar Int64 scalar Int8 -scalar JSON - -scalar PhoneNumber - type Query { int128(x: Int128): Int128 int16(x: Int16): Int16 @@ -49,8 +35,6 @@ scalar UInt64 scalar UInt8 -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-scalars-validation.md_client.snap b/tests/core/snapshots/test-scalars-validation.md_client.snap index fc8d05964d..61d4a75ca6 100644 --- a/tests/core/snapshots/test-scalars-validation.md_client.snap +++ b/tests/core/snapshots/test-scalars-validation.md_client.snap @@ -2,47 +2,13 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - scalar Email -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { emailInput(x: Email!): Boolean emailOutput: Email! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-scalars.md_client.snap b/tests/core/snapshots/test-scalars.md_client.snap index 037ae5b7a6..5df81ae1f3 100644 --- a/tests/core/snapshots/test-scalars.md_client.snap +++ b/tests/core/snapshots/test-scalars.md_client.snap @@ -8,24 +8,8 @@ scalar Bytes scalar Date -scalar DateTime - scalar Email -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - scalar PhoneNumber type Query { @@ -37,16 +21,6 @@ type Query { url(value: Url!): Url! } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - scalar Url schema { diff --git a/tests/core/snapshots/test-server-vars.md_client.snap b/tests/core/snapshots/test-server-vars.md_client.snap index f3d3cd48e5..893ac9057a 100644 --- a/tests/core/snapshots/test-server-vars.md_client.snap +++ b/tests/core/snapshots/test-server-vars.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { foo: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-set-cookie-headers.md_client.snap b/tests/core/snapshots/test-set-cookie-headers.md_client.snap index c4b7919e6e..dc89262eb4 100644 --- a/tests/core/snapshots/test-set-cookie-headers.md_client.snap +++ b/tests/core/snapshots/test-set-cookie-headers.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { email: String! id: Int! diff --git a/tests/core/snapshots/test-static-value.md_client.snap b/tests/core/snapshots/test-static-value.md_client.snap index 5762a4b2c6..2215e476ec 100644 --- a/tests/core/snapshots/test-static-value.md_client.snap +++ b/tests/core/snapshots/test-static-value.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { firstUser: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/test-union-ambiguous.md_client.snap b/tests/core/snapshots/test-union-ambiguous.md_client.snap index 5fe6c1df71..1ec9ab05a5 100644 --- a/tests/core/snapshots/test-union-ambiguous.md_client.snap +++ b/tests/core/snapshots/test-union-ambiguous.md_client.snap @@ -11,41 +11,17 @@ type Baz { baz: String } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { foo: String } union FooBarBaz = Bar | Baz | Foo -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Nested { bar: FooBarBaz foo: FooBarBaz } -scalar PhoneNumber - type Query { arr: [FooBarBaz] bar: FooBarBaz @@ -56,18 +32,6 @@ type Query { wrong: FooBarBaz } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-union.md_client.snap b/tests/core/snapshots/test-union.md_client.snap index 58a0f4c72b..894a0c5eee 100644 --- a/tests/core/snapshots/test-union.md_client.snap +++ b/tests/core/snapshots/test-union.md_client.snap @@ -6,41 +6,17 @@ type Bar { bar: String! } -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - type Foo { foo: String! } union FooBar = Bar | Foo -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - type Nested { bar: FooBar foo: FooBar } -scalar PhoneNumber - type Query { arr: [FooBar] bar: FooBar @@ -49,18 +25,6 @@ type Query { unknown: FooBar } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-upstream-headers.md_client.snap b/tests/core/snapshots/test-upstream-headers.md_client.snap index 51c9c6d316..cd159a474a 100644 --- a/tests/core/snapshots/test-upstream-headers.md_client.snap +++ b/tests/core/snapshots/test-upstream-headers.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { id: Int } @@ -34,18 +10,6 @@ type Query { posts: [Post] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/test-upstream.md_client.snap b/tests/core/snapshots/test-upstream.md_client.snap index 337f2d604b..cf7d4e49b2 100644 --- a/tests/core/snapshots/test-upstream.md_client.snap +++ b/tests/core/snapshots/test-upstream.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { hello: String } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/upstream-batching.md_client.snap b/tests/core/snapshots/upstream-batching.md_client.snap index 76270c3b32..5e9fd2fa39 100644 --- a/tests/core/snapshots/upstream-batching.md_client.snap +++ b/tests/core/snapshots/upstream-batching.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/upstream-fail-request.md_client.snap b/tests/core/snapshots/upstream-fail-request.md_client.snap index 53f9f3657f..52d67b233a 100644 --- a/tests/core/snapshots/upstream-fail-request.md_client.snap +++ b/tests/core/snapshots/upstream-fail-request.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/with-args-url.md_client.snap b/tests/core/snapshots/with-args-url.md_client.snap index ae02ec737a..cbcfe5da06 100644 --- a/tests/core/snapshots/with-args-url.md_client.snap +++ b/tests/core/snapshots/with-args-url.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int!): User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { id: Int name: String diff --git a/tests/core/snapshots/with-args.md_client.snap b/tests/core/snapshots/with-args.md_client.snap index 978482ae7c..d830867cea 100644 --- a/tests/core/snapshots/with-args.md_client.snap +++ b/tests/core/snapshots/with-args.md_client.snap @@ -2,46 +2,10 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { user(id: Int!): [User] } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { name: String } diff --git a/tests/core/snapshots/with-nesting.md_client.snap b/tests/core/snapshots/with-nesting.md_client.snap index aae8ef1067..30e275ebb1 100644 --- a/tests/core/snapshots/with-nesting.md_client.snap +++ b/tests/core/snapshots/with-nesting.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Post { body: String id: Int @@ -37,18 +13,6 @@ type Query { user: User } -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - type User { email: String! id: Int! diff --git a/tests/core/snapshots/yaml-nested-unions.md_client.snap b/tests/core/snapshots/yaml-nested-unions.md_client.snap index ebd067deb3..47713e49b8 100644 --- a/tests/core/snapshots/yaml-nested-unions.md_client.snap +++ b/tests/core/snapshots/yaml-nested-unions.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { testVar0(u: T1Input!): U testVar1(u: T2Input!): U @@ -78,18 +54,6 @@ input T5Input { union U = T1 | T2 | T3 | T4 | T5 -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/yaml-union-in-type.md_client.snap b/tests/core/snapshots/yaml-union-in-type.md_client.snap index 27c018f483..8060a57361 100644 --- a/tests/core/snapshots/yaml-union-in-type.md_client.snap +++ b/tests/core/snapshots/yaml-union-in-type.md_client.snap @@ -2,28 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - input NNU__nu0 { new: Boolean nu: NU__u0 @@ -57,8 +35,6 @@ input NU__u2 { u: T3Input } -scalar PhoneNumber - type Query { testVar0Var0(nu: NU__u0!, nnu: NNU__nu0): U testVar0Var1(nu: NU__u0!, nnu: NNU__nu1): U @@ -99,18 +75,6 @@ input T3Input { union U = T1 | T2 | T3 -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/core/snapshots/yaml-union.md_client.snap b/tests/core/snapshots/yaml-union.md_client.snap index 1926e586f7..c680e386b0 100644 --- a/tests/core/snapshots/yaml-union.md_client.snap +++ b/tests/core/snapshots/yaml-union.md_client.snap @@ -2,30 +2,6 @@ source: tests/core/spec.rs expression: formatted --- -scalar Bytes - -scalar Date - -scalar DateTime - -scalar Email - -scalar Empty - -scalar Int128 - -scalar Int16 - -scalar Int32 - -scalar Int64 - -scalar Int8 - -scalar JSON - -scalar PhoneNumber - type Query { testVar0(u: T1Input!): U testVar1(u: T2Input!): U @@ -60,18 +36,6 @@ input T3Input { union U = T1 | T2 | T3 -scalar UInt128 - -scalar UInt16 - -scalar UInt32 - -scalar UInt64 - -scalar UInt8 - -scalar Url - schema { query: Query } diff --git a/tests/execution/custom-scalars.md b/tests/execution/custom-scalars.md new file mode 100644 index 0000000000..221b6666c8 --- /dev/null +++ b/tests/execution/custom-scalars.md @@ -0,0 +1,60 @@ +# Using all custom scalars + +```graphql @config +schema { + query: Query +} +schema { + query: Query +} + +schema { + query: Query +} + +type Query { + qDate: Date @expr(body: "2023-10-05T00:00:00Z") + qDateTime: DateTime @expr(body: "2023-10-05T00:00:00Z") + qEmail: Email @expr(body: "funny@not.com") + qUrl: Url @expr(body: "http://example.com") + qPhoneNumber: PhoneNumber @expr(body: "+1234567890") + qJSON: JSON @expr(body: {a: 1, b: 2}) + qBytes: Bytes @expr(body: "1") + qUInt128: UInt128 @expr(body: "2") + qUInt16: UInt16 @expr(body: 3) + qUInt32: UInt32 @expr(body: 4) + qUInt64: UInt64 @expr(body: "5") + qUInt8: UInt8 @expr(body: 6) + qInt128: Int128 @expr(body: "7") + qInt16: Int16 @expr(body: 8) + qInt32: Int32 @expr(body: 9) + qInt64: Int64 @expr(body: "10") + qInt8: Int8 @expr(body: 11) +} +``` + +```yml @test +- method: POST + url: http://localhost:8080/graphql + body: + query: > + { + qBytes + qDate + qDateTime + qEmail + qInt128 + qInt16 + qInt32 + qInt64 + qInt8 + qJSON + qPhoneNumber + qUInt128 + qUInt16 + qUInt32 + qUInt64 + qUInt8 + qUrl + } +```