diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.EnumValueT_ValueIsNull_SchemaException.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.EnumValueT_ValueIsNull_SchemaException.snap deleted file mode 100644 index cc927a8de8b..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.EnumValueT_ValueIsNull_SchemaException.snap +++ /dev/null @@ -1 +0,0 @@ -Value cannot be null. (Parameter 'value') diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.EnumValueT_ValueIsNull_SchemaException_NETCOREAPP2_1.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.EnumValueT_ValueIsNull_SchemaException_NETCOREAPP2_1.snap deleted file mode 100644 index 4ba84cc4ff9..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.EnumValueT_ValueIsNull_SchemaException_NETCOREAPP2_1.snap +++ /dev/null @@ -1,2 +0,0 @@ -Value cannot be null. -Parameter name: value diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.EnumValue_ValueIsNull_SchemaException_NETCOREAPP2_1.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.EnumValue_ValueIsNull_SchemaException_NETCOREAPP2_1.snap deleted file mode 100644 index 4ba84cc4ff9..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.EnumValue_ValueIsNull_SchemaException_NETCOREAPP2_1.snap +++ /dev/null @@ -1,2 +0,0 @@ -Value cannot be null. -Parameter name: value diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.Serialize_EnumValue_WithDirectivesT.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.Serialize_EnumValue_WithDirectivesT.snap deleted file mode 100644 index b28d86c99c8..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/EnumTypeTests.Serialize_EnumValue_WithDirectivesT.snap +++ /dev/null @@ -1,5 +0,0 @@ -enum Foo { - BAZ @bar -} - -directive @bar on EnumValue diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeNonNullTests.Nullable_Dictionary_Is_Correctly_Detected_NETCOREAPP2_1.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeNonNullTests.Nullable_Dictionary_Is_Correctly_Detected_NETCOREAPP2_1.snap deleted file mode 100644 index 17aec18f7ae..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeNonNullTests.Nullable_Dictionary_Is_Correctly_Detected_NETCOREAPP2_1.snap +++ /dev/null @@ -1,31 +0,0 @@ -schema { - query: Query -} - -type Query { - foo(input: FooInput!): String! -} - -input FooInput { - contextData: [KeyValuePairOfStringAndStringInput!] -} - -input KeyValuePairOfStringAndStringInput { - key: String - value: String -} - -"The `@defer` directive may be provided for fragment spreads and inline fragments to inform the executor to delay the execution of the current fragment to indicate deprioritization of the current fragment. A query with `@defer` directive will cause the request to potentially return multiple responses, where non-deferred data is delivered in the initial response and data deferred is delivered in a subsequent response. `@include` and `@skip` take precedence over `@defer`." -directive @defer("If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to." label: String "Deferred when true." if: Boolean) on FRAGMENT_SPREAD | INLINE_FRAGMENT - -"The @deprecated directive is used within the type system definition language to indicate deprecated portions of a GraphQL service’s schema,such as deprecated fields on a type or deprecated enum values." -directive @deprecated("Deprecations include a reason for why it is deprecated, which is formatted using Markdown syntax (as specified by CommonMark)." reason: String = "No longer supported") on FIELD_DEFINITION | ENUM_VALUE - -"Directs the executor to include this field or fragment only when the `if` argument is true." -directive @include("Included when true." if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT - -"Directs the executor to skip this field or fragment when the `if` argument is true." -directive @skip("Skipped when true." if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT - -"The `@stream` directive may be provided for a field of `List` type so that the backend can leverage technology such as asynchronous iterators to provide a partial list in the initial response, and additional list items in subsequent responses. `@include` and `@skip` take precedence over `@stream`." -directive @stream("If this argument label has a value other than null, it will be passed on to the result of this stream directive. This label is intended to give client applications a way to identify to which fragment a streamed result belongs to." label: String "The initial elements that shall be send down to the consumer." initialCount: Int! "Streamed when true." if: Boolean) on FIELD diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.DoNotAllow_DynamicInputTypes_OnFields.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.DoNotAllow_DynamicInputTypes_OnFields.snap deleted file mode 100644 index 03cc42491a9..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.DoNotAllow_DynamicInputTypes_OnFields.snap +++ /dev/null @@ -1 +0,0 @@ -The argument type has to be an input-type. (Parameter 'inputType') diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.DoNotAllow_DynamicInputTypes_OnFields_NETCOREAPP2_1.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.DoNotAllow_DynamicInputTypes_OnFields_NETCOREAPP2_1.snap deleted file mode 100644 index 5cdaf72eb5a..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.DoNotAllow_DynamicInputTypes_OnFields_NETCOREAPP2_1.snap +++ /dev/null @@ -1,2 +0,0 @@ -The argument type has to be an input-type. -Parameter name: inputType diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.ParseLiteral.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.ParseLiteral.snap deleted file mode 100644 index 489ee130153..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.ParseLiteral.snap +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Foo": { - "FooList": [] - }, - "Bar": "123" -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.ParseValue_ValueIsNull.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.ParseValue_ValueIsNull.snap deleted file mode 100644 index 1c1f54a26c1..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.ParseValue_ValueIsNull.snap +++ /dev/null @@ -1 +0,0 @@ -null diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.ParseValue_ValueIsSimpleInput.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.ParseValue_ValueIsSimpleInput.snap deleted file mode 100644 index 0fd8c1251e0..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.ParseValue_ValueIsSimpleInput.snap +++ /dev/null @@ -1 +0,0 @@ -{ name: "foo" } diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.Serialize_ValueIsDictionary.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.Serialize_ValueIsDictionary.snap deleted file mode 100644 index f6877412719..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.Serialize_ValueIsDictionary.snap +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "foo" -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.Serialize_ValueIsSimpleInput.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.Serialize_ValueIsSimpleInput.snap deleted file mode 100644 index f6877412719..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputObjectTypeTests.Serialize_ValueIsSimpleInput.snap +++ /dev/null @@ -1,3 +0,0 @@ -{ - "name": "foo" -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet.snap deleted file mode 100644 index 9f837557614..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet.snap +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Field1": "abc", - "Field2": 123 -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_ConstructorInit.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_ConstructorInit.snap deleted file mode 100644 index 9f837557614..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_ConstructorInit.snap +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Field1": "abc", - "Field2": 123 -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_MissingRequired.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_MissingRequired.snap deleted file mode 100644 index f8dda14c9e9..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_MissingRequired.snap +++ /dev/null @@ -1,13 +0,0 @@ -{ - "errors": [ - { - "message": "The required input field \u0060field1\u0060 is missing.", - "path": [ - "field1" - ], - "extensions": { - "field": "Test2Input.field1" - } - } - ] -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_OneInvalidField.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_OneInvalidField.snap deleted file mode 100644 index 487b6494975..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_OneInvalidField.snap +++ /dev/null @@ -1,13 +0,0 @@ -{ - "errors": [ - { - "message": "The field \u0060field3\u0060 does not exist on the type \u0060TestInput\u0060.", - "path": [ - "root" - ], - "extensions": { - "type": "TestInput" - } - } - ] -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_TwoInvalidFields.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_TwoInvalidFields.snap deleted file mode 100644 index c30efdcf5b0..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Deserialize_InputObject_AllIsSet_TwoInvalidFields.snap +++ /dev/null @@ -1,13 +0,0 @@ -{ - "errors": [ - { - "message": "The fields \u0060\u0060field3\u0060, \u0060field4\u0060\u0060 do not exist on the type \u0060TestInput\u0060.", - "path": [ - "root" - ], - "extensions": { - "type": "TestInput" - } - } - ] -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet.snap deleted file mode 100644 index 9f837557614..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet.snap +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Field1": "abc", - "Field2": 123 -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_ConstructorInit.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_ConstructorInit.snap deleted file mode 100644 index 9f837557614..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_ConstructorInit.snap +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Field1": "abc", - "Field2": 123 -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_MissingRequired.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_MissingRequired.snap deleted file mode 100644 index f8dda14c9e9..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_MissingRequired.snap +++ /dev/null @@ -1,13 +0,0 @@ -{ - "errors": [ - { - "message": "The required input field \u0060field1\u0060 is missing.", - "path": [ - "field1" - ], - "extensions": { - "field": "Test2Input.field1" - } - } - ] -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_OneInvalidField.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_OneInvalidField.snap deleted file mode 100644 index 487b6494975..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_OneInvalidField.snap +++ /dev/null @@ -1,13 +0,0 @@ -{ - "errors": [ - { - "message": "The field \u0060field3\u0060 does not exist on the type \u0060TestInput\u0060.", - "path": [ - "root" - ], - "extensions": { - "type": "TestInput" - } - } - ] -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_TwoInvalidFields.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_TwoInvalidFields.snap deleted file mode 100644 index c30efdcf5b0..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/InputSerializerTests.Parse_InputObject_AllIsSet_TwoInvalidFields.snap +++ /dev/null @@ -1,13 +0,0 @@ -{ - "errors": [ - { - "message": "The fields \u0060\u0060field3\u0060, \u0060field4\u0060\u0060 do not exist on the type \u0060TestInput\u0060.", - "path": [ - "root" - ], - "extensions": { - "type": "TestInput" - } - } - ] -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Argument_Type_IsInfered_From_Parameter.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Argument_Type_IsInfered_From_Parameter.snap deleted file mode 100644 index c1ddf524828..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Argument_Type_IsInfered_From_Parameter.snap +++ /dev/null @@ -1,13 +0,0 @@ -schema { - query: QueryWithIntArg -} - -type QueryWithIntArg { - bar(foo: Int!): String -} - -"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1." -scalar Int - -"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text." -scalar String diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Infer_List_From_Queryable_NETCOREAPP2_1.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Infer_List_From_Queryable_NETCOREAPP2_1.snap deleted file mode 100644 index fdf214159f7..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Infer_List_From_Queryable_NETCOREAPP2_1.snap +++ /dev/null @@ -1,26 +0,0 @@ -schema { - query: MyListQuery -} - -type Bar { - baz: String! -} - -type MyListQuery { - list: [Bar] -} - -"The `@defer` directive may be provided for fragment spreads and inline fragments to inform the executor to delay the execution of the current fragment to indicate deprioritization of the current fragment. A query with `@defer` directive will cause the request to potentially return multiple responses, where non-deferred data is delivered in the initial response and data deferred is delivered in a subsequent response. `@include` and `@skip` take precedence over `@defer`." -directive @defer("If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to." label: String "Deferred when true." if: Boolean) on FRAGMENT_SPREAD | INLINE_FRAGMENT - -"The @deprecated directive is used within the type system definition language to indicate deprecated portions of a GraphQL service’s schema,such as deprecated fields on a type or deprecated enum values." -directive @deprecated("Deprecations include a reason for why it is deprecated, which is formatted using Markdown syntax (as specified by CommonMark)." reason: String = "No longer supported") on FIELD_DEFINITION | ENUM_VALUE - -"Directs the executor to include this field or fragment only when the `if` argument is true." -directive @include("Included when true." if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT - -"Directs the executor to skip this field or fragment when the `if` argument is true." -directive @skip("Skipped when true." if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT - -"The `@stream` directive may be provided for a field of `List` type so that the backend can leverage technology such as asynchronous iterators to provide a partial list in the initial response, and additional list items in subsequent responses. `@include` and `@skip` take precedence over `@stream`." -directive @stream("If this argument label has a value other than null, it will be passed on to the result of this stream directive. This label is intended to give client applications a way to identify to which fragment a streamed result belongs to." label: String "The initial elements that shall be send down to the consumer." initialCount: Int! "Streamed when true." if: Boolean) on FIELD diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Infer_Non_Null_Filed_NETCOREAPP2_1.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Infer_Non_Null_Filed_NETCOREAPP2_1.snap deleted file mode 100644 index 68959749cbe..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Infer_Non_Null_Filed_NETCOREAPP2_1.snap +++ /dev/null @@ -1,22 +0,0 @@ -schema { - query: Bar -} - -type Bar { - baz: String! -} - -"The `@defer` directive may be provided for fragment spreads and inline fragments to inform the executor to delay the execution of the current fragment to indicate deprioritization of the current fragment. A query with `@defer` directive will cause the request to potentially return multiple responses, where non-deferred data is delivered in the initial response and data deferred is delivered in a subsequent response. `@include` and `@skip` take precedence over `@defer`." -directive @defer("If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to." label: String "Deferred when true." if: Boolean) on FRAGMENT_SPREAD | INLINE_FRAGMENT - -"The @deprecated directive is used within the type system definition language to indicate deprecated portions of a GraphQL service’s schema,such as deprecated fields on a type or deprecated enum values." -directive @deprecated("Deprecations include a reason for why it is deprecated, which is formatted using Markdown syntax (as specified by CommonMark)." reason: String = "No longer supported") on FIELD_DEFINITION | ENUM_VALUE - -"Directs the executor to include this field or fragment only when the `if` argument is true." -directive @include("Included when true." if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT - -"Directs the executor to skip this field or fragment when the `if` argument is true." -directive @skip("Skipped when true." if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT - -"The `@stream` directive may be provided for a field of `List` type so that the backend can leverage technology such as asynchronous iterators to provide a partial list in the initial response, and additional list items in subsequent responses. `@include` and `@skip` take precedence over `@stream`." -directive @stream("If this argument label has a value other than null, it will be passed on to the result of this stream directive. This label is intended to give client applications a way to identify to which fragment a streamed result belongs to." label: String "The initial elements that shall be send down to the consumer." initialCount: Int! "Streamed when true." if: Boolean) on FIELD diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Model_With_Nullables.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Model_With_Nullables.snap deleted file mode 100644 index 9f1ff8b5e43..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.Model_With_Nullables.snap +++ /dev/null @@ -1,11 +0,0 @@ -schema { - query: FooWithNullable -} - -type FooWithNullable { - bar: Boolean - bars: [Boolean] -} - -"The `Boolean` scalar type represents `true` or `false`." -scalar Boolean diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.ObjectType_From_Dictionary_NETCOREAPP2_1.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.ObjectType_From_Dictionary_NETCOREAPP2_1.snap deleted file mode 100644 index eee5c7c20d6..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/ObjectTypeTests.ObjectType_From_Dictionary_NETCOREAPP2_1.snap +++ /dev/null @@ -1,31 +0,0 @@ -schema { - query: FooWithDict -} - -type Bar { - baz: String! -} - -type FooWithDict { - map: [KeyValuePairOfStringAndBar!] -} - -type KeyValuePairOfStringAndBar { - key: String - value: Bar -} - -"The `@defer` directive may be provided for fragment spreads and inline fragments to inform the executor to delay the execution of the current fragment to indicate deprioritization of the current fragment. A query with `@defer` directive will cause the request to potentially return multiple responses, where non-deferred data is delivered in the initial response and data deferred is delivered in a subsequent response. `@include` and `@skip` take precedence over `@defer`." -directive @defer("If this argument label has a value other than null, it will be passed on to the result of this defer directive. This label is intended to give client applications a way to identify to which fragment a deferred result belongs to." label: String "Deferred when true." if: Boolean) on FRAGMENT_SPREAD | INLINE_FRAGMENT - -"The @deprecated directive is used within the type system definition language to indicate deprecated portions of a GraphQL service’s schema,such as deprecated fields on a type or deprecated enum values." -directive @deprecated("Deprecations include a reason for why it is deprecated, which is formatted using Markdown syntax (as specified by CommonMark)." reason: String = "No longer supported") on FIELD_DEFINITION | ENUM_VALUE - -"Directs the executor to include this field or fragment only when the `if` argument is true." -directive @include("Included when true." if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT - -"Directs the executor to skip this field or fragment when the `if` argument is true." -directive @skip("Skipped when true." if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT - -"The `@stream` directive may be provided for a field of `List` type so that the backend can leverage technology such as asynchronous iterators to provide a partial list in the initial response, and additional list items in subsequent responses. `@include` and `@skip` take precedence over `@stream`." -directive @stream("If this argument label has a value other than null, it will be passed on to the result of this stream directive. This label is intended to give client applications a way to identify to which fragment a streamed result belongs to." label: String "The initial elements that shall be send down to the consumer." initialCount: Int! "Streamed when true." if: Boolean) on FIELD diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/PaginationTests.Execute_NestedOffsetPaging_NoCyclicDependencies.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/PaginationTests.Execute_NestedOffsetPaging_NoCyclicDependencies.snap deleted file mode 100644 index a23f75cfe42..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/PaginationTests.Execute_NestedOffsetPaging_NoCyclicDependencies.snap +++ /dev/null @@ -1,20 +0,0 @@ -{ - "data": { - "users": { - "items": [ - { - "parents": { - "items": [ - { - "firstName": "Mother" - }, - { - "firstName": "Father" - } - ] - } - } - ] - } - } -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/PaginationTests.Execute_NestedOffsetPaging_With_Indirect_Cycles.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/PaginationTests.Execute_NestedOffsetPaging_With_Indirect_Cycles.snap deleted file mode 100644 index d7f37ad0df4..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/PaginationTests.Execute_NestedOffsetPaging_With_Indirect_Cycles.snap +++ /dev/null @@ -1,26 +0,0 @@ -{ - "data": { - "users": { - "items": [ - { - "groups": { - "items": [ - { - "members": { - "items": [ - { - "firstName": "Mother" - }, - { - "firstName": "Father" - } - ] - } - } - ] - } - } - ] - } - } -} diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomething.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomething.snap deleted file mode 100644 index b92e2bda30a..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomething.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomething": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomething": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomething": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingObj.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingObj.snap deleted file mode 100644 index 537f18f573b..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingObj.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObj": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObj": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObj": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingObjTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingObjTask.snap deleted file mode 100644 index dc469080154..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingObjTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObjTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingObjValueTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingObjValueTask.snap deleted file mode 100644 index a1c36fb253d..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingObjValueTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObjValueTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjValueTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjValueTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingTask.snap deleted file mode 100644 index 072a592dc1f..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingValueTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingValueTask.snap deleted file mode 100644 index 291de681beb..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_AsyncEnumerable_onSomethingValueTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingValueTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingValueTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingValueTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomething.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomething.snap deleted file mode 100644 index b92e2bda30a..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomething.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomething": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomething": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomething": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingObj.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingObj.snap deleted file mode 100644 index 537f18f573b..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingObj.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObj": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObj": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObj": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingObjTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingObjTask.snap deleted file mode 100644 index dc469080154..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingObjTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObjTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingObjValueTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingObjValueTask.snap deleted file mode 100644 index a1c36fb253d..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingObjValueTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObjValueTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjValueTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjValueTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingTask.snap deleted file mode 100644 index 072a592dc1f..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingValueTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingValueTask.snap deleted file mode 100644 index 291de681beb..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Enumerable_onSomethingValueTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingValueTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingValueTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingValueTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomething.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomething.snap deleted file mode 100644 index b92e2bda30a..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomething.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomething": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomething": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomething": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingObj.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingObj.snap deleted file mode 100644 index 537f18f573b..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingObj.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObj": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObj": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObj": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingObjTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingObjTask.snap deleted file mode 100644 index dc469080154..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingObjTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObjTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingObjValueTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingObjValueTask.snap deleted file mode 100644 index a1c36fb253d..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingObjValueTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObjValueTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjValueTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjValueTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingTask.snap deleted file mode 100644 index 072a592dc1f..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingValueTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingValueTask.snap deleted file mode 100644 index 291de681beb..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Observable_onSomethingValueTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingValueTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingValueTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingValueTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomething.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomething.snap deleted file mode 100644 index b92e2bda30a..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomething.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomething": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomething": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomething": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingObj.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingObj.snap deleted file mode 100644 index 537f18f573b..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingObj.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObj": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObj": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObj": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingObjTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingObjTask.snap deleted file mode 100644 index dc469080154..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingObjTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObjTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingObjValueTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingObjValueTask.snap deleted file mode 100644 index a1c36fb253d..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingObjValueTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingObjValueTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjValueTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingObjValueTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingTask.snap deleted file mode 100644 index 072a592dc1f..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingValueTask.snap b/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingValueTask.snap deleted file mode 100644 index 291de681beb..00000000000 --- a/src/HotChocolate/Core/test/Types.Tests/Types/__snapshots__/SubscriptionTypeTests.Subscribe_Attribute_Queryable_onSomethingValueTask.snap +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "Data": { - "onSomethingValueTask": "a" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingValueTask": "b" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - }, - { - "Data": { - "onSomethingValueTask": "c" - }, - "Errors": null, - "Extensions": null, - "ContextData": null - } -] diff --git a/src/HotChocolate/Core/test/Types.Tests/__snapshots__/SchemaSerializerTests.SerializeAsync_Serialize.snap b/src/HotChocolate/Core/test/Types.Tests/__snapshots__/SchemaSerializerTests.SerializeAsync_Serialize.snap index 3f356ce4b66..9819fe502a4 100644 --- a/src/HotChocolate/Core/test/Types.Tests/__snapshots__/SchemaSerializerTests.SerializeAsync_Serialize.snap +++ b/src/HotChocolate/Core/test/Types.Tests/__snapshots__/SchemaSerializerTests.SerializeAsync_Serialize.snap @@ -1,4 +1,4 @@ -schema { +schema { query: Query } diff --git a/src/HotChocolate/Core/test/Types.Tests/__snapshots__/SchemaSerializerTests.SerializeTypes.snap b/src/HotChocolate/Core/test/Types.Tests/__snapshots__/SchemaSerializerTests.SerializeTypes.snap index 55475933ab4..5837265fc5c 100644 --- a/src/HotChocolate/Core/test/Types.Tests/__snapshots__/SchemaSerializerTests.SerializeTypes.snap +++ b/src/HotChocolate/Core/test/Types.Tests/__snapshots__/SchemaSerializerTests.SerializeTypes.snap @@ -1,3 +1,3 @@ -type Query { +type Query { foo: Foo } diff --git a/src/HotChocolate/Language/src/Language.SyntaxTree/Utilities/SyntaxPrinter.cs b/src/HotChocolate/Language/src/Language.SyntaxTree/Utilities/SyntaxPrinter.cs index b3981945528..102294bdba9 100644 --- a/src/HotChocolate/Language/src/Language.SyntaxTree/Utilities/SyntaxPrinter.cs +++ b/src/HotChocolate/Language/src/Language.SyntaxTree/Utilities/SyntaxPrinter.cs @@ -61,9 +61,13 @@ public static async ValueTask PrintToAsync( CancellationToken cancellationToken = default) { #if NETSTANDARD2_0 - using var streamWriter = new StreamWriter(stream, Encoding.UTF8); + using var streamWriter = new StreamWriter( + stream, + new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true)); #else - await using var streamWriter = new StreamWriter(stream, Encoding.UTF8); + await using var streamWriter = new StreamWriter( + stream, + new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true)); #endif var syntaxWriter = StringSyntaxWriter.Rent(); diff --git a/src/HotChocolate/Utilities/test/Utilities.Introspection.Tests/__snapshots__/IntrospectionClientTests.Download_Schema_SDL.snap b/src/HotChocolate/Utilities/test/Utilities.Introspection.Tests/__snapshots__/IntrospectionClientTests.Download_Schema_SDL.snap index 4a5b40ffcfc..6339cddb5d6 100644 --- a/src/HotChocolate/Utilities/test/Utilities.Introspection.Tests/__snapshots__/IntrospectionClientTests.Download_Schema_SDL.snap +++ b/src/HotChocolate/Utilities/test/Utilities.Introspection.Tests/__snapshots__/IntrospectionClientTests.Download_Schema_SDL.snap @@ -1,4 +1,4 @@ -schema { +schema { query: Query mutation: Mutation subscription: Subscription diff --git a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/MultiProfileTest.Client.cs b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/MultiProfileTest.Client.cs index cb7c3096290..4e3e53a2c10 100644 --- a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/MultiProfileTest.Client.cs +++ b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/MultiProfileTest.Client.cs @@ -1149,7 +1149,7 @@ public enum Episode { NewHope, Empire, - Jedi, + Jedi } // StrawberryShake.CodeGeneration.CSharp.Generators.EnumParserGenerator @@ -1604,7 +1604,7 @@ public partial interface IMultiProfileClient public enum MultiProfileClientProfileKind { InMemory, - Default, + Default } } diff --git a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsIntrospectionTest.Client.cs b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsIntrospectionTest.Client.cs index 5ee00b2602a..b02d269af1e 100644 --- a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsIntrospectionTest.Client.cs +++ b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsIntrospectionTest.Client.cs @@ -2834,7 +2834,7 @@ public enum __TypeKind /// /// Indicates this type is a non-null. `ofType` is a valid field. /// - NonNull, + NonNull } // StrawberryShake.CodeGeneration.CSharp.Generators.EnumParserGenerator diff --git a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsOnReviewSubCompletionTest.Client.cs b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsOnReviewSubCompletionTest.Client.cs index 75c99f5e72d..04fa4dba24f 100644 --- a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsOnReviewSubCompletionTest.Client.cs +++ b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/Integration/StarWarsOnReviewSubCompletionTest.Client.cs @@ -445,7 +445,7 @@ public partial interface IStarWarsOnReviewSubCompletionClient public enum StarWarsOnReviewSubCompletionClientProfileKind { InMemory, - Default, + Default } }