diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Schema_Snapshot.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Schema_Snapshot.graphql index 4983a4329e8..d48fa66a894 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Schema_Snapshot.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Schema_Snapshot.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@tag", "@key", "@provides", "@external", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@tag", "@key", "@provides", "@external", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Schema_Snapshot.snap b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Schema_Snapshot.snap deleted file mode 100644 index 4983a4329e8..00000000000 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Schema_Snapshot.snap +++ /dev/null @@ -1,58 +0,0 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@tag", "@key", "@provides", "@external", "FieldSet" ]) { - query: Query -} - -type Product @key(fields: "id") @key(fields: "sku package") @key(fields: "sku variation { id }") { - id: ID! - sku: String - package: String - variation: ProductVariation - dimensions: ProductDimension - createdBy: User @provides(fields: "totalProductsCreated") -} - -type ProductDimension { - size: String - weight: Float -} - -type ProductVariation { - id: ID! -} - -type Query { - product(id: ID!): Product - _service: _Service! - _entities(representations: [_Any!]!): [_Entity]! -} - -type User @key(fields: "email") { - email: ID! @external - totalProductsCreated: Int @external -} - -"This type provides a field named sdl: String! which exposes the SDL of the service's schema. This SDL (schema definition language) is a printed version of the service's schema including the annotations of federation directives. This SDL does not include the additions of the federation spec." -type _Service { - sdl: String! -} - -"Union of all types that key directive applied. This information is needed by the Apollo federation gateway." -union _Entity = Product | User - -"Directive to indicate that a field is owned by another service, for example via Apollo federation." -directive @external on OBJECT | FIELD_DEFINITION - -"Used to indicate a combination of fields that can be used to uniquely identify and fetch an object or interface." -directive @key(fields: FieldSet! resolvable: Boolean = true) repeatable on OBJECT | INTERFACE - -"Links definitions within the document to external schemas." -directive @link("Gets imported specification url." url: String! "Gets optional list of imported element names." import: [String!]) repeatable on SCHEMA - -"Used to annotate the expected returned fieldset from a field on a base type that is guaranteed to be selectable by the federation gateway." -directive @provides(fields: FieldSet!) on FIELD_DEFINITION - -"Scalar representing a set of fields." -scalar FieldSet - -"The _Any scalar is used to pass representations of entities from external services into the root _entities field for execution. Validation of the _Any scalar is done by matching the __typename and @external fields defined in the schema." -scalar _Any diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Subgraph_SDL.snap b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Subgraph_SDL.snap index 4983a4329e8..d48fa66a894 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Subgraph_SDL.snap +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/AnnotationBased/__snapshots__/CertificationTests.Subgraph_SDL.snap @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@tag", "@key", "@provides", "@external", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@tag", "@key", "@provides", "@external", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Schema_Snapshot.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Schema_Snapshot.graphql index f4e3ea7d3ee..d3f289316a5 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Schema_Snapshot.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Schema_Snapshot.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@provides", "@external", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@provides", "@external", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Schema_Snapshot.snap b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Schema_Snapshot.snap deleted file mode 100644 index f4e3ea7d3ee..00000000000 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Schema_Snapshot.snap +++ /dev/null @@ -1,58 +0,0 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@provides", "@external", "@tag", "FieldSet" ]) { - query: Query -} - -type Product @key(fields: "id") @key(fields: "sku package") @key(fields: "sku variation { id }") { - id: ID! - createdBy: User! @provides(fields: "totalProductsCreated") - sku: String - package: String - variation: ProductVariation - dimensions: ProductDimension -} - -type ProductDimension { - size: String - weight: Float -} - -type ProductVariation { - id: ID! -} - -type Query { - product(id: ID!): Product - _service: _Service! - _entities(representations: [_Any!]!): [_Entity]! -} - -type User @key(fields: "email") { - email: ID! @external - totalProductsCreated: Int @external -} - -"This type provides a field named sdl: String! which exposes the SDL of the service's schema. This SDL (schema definition language) is a printed version of the service's schema including the annotations of federation directives. This SDL does not include the additions of the federation spec." -type _Service { - sdl: String! -} - -"Union of all types that key directive applied. This information is needed by the Apollo federation gateway." -union _Entity = Product | User - -"Directive to indicate that a field is owned by another service, for example via Apollo federation." -directive @external on OBJECT | FIELD_DEFINITION - -"Used to indicate a combination of fields that can be used to uniquely identify and fetch an object or interface." -directive @key(fields: FieldSet! resolvable: Boolean = true) repeatable on OBJECT | INTERFACE - -"Links definitions within the document to external schemas." -directive @link("Gets imported specification url." url: String! "Gets optional list of imported element names." import: [String!]) repeatable on SCHEMA - -"Used to annotate the expected returned fieldset from a field on a base type that is guaranteed to be selectable by the federation gateway." -directive @provides(fields: FieldSet!) on FIELD_DEFINITION - -"Scalar representing a set of fields." -scalar FieldSet - -"The _Any scalar is used to pass representations of entities from external services into the root _entities field for execution. Validation of the _Any scalar is done by matching the __typename and @external fields defined in the schema." -scalar _Any diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Subgraph_SDL.snap b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Subgraph_SDL.snap index f4e3ea7d3ee..d3f289316a5 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Subgraph_SDL.snap +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/CertificationSchema/CodeFirst/__snapshots__/CertificationTests.Subgraph_SDL.snap @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@provides", "@external", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@provides", "@external", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ComposeDirectiveTests.ExportDirectiveUsingNameCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ComposeDirectiveTests.ExportDirectiveUsingNameCodeFirst.graphql index 92387ea4b4a..c5b1f1012f0 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ComposeDirectiveTests.ExportDirectiveUsingNameCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ComposeDirectiveTests.ExportDirectiveUsingNameCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @composeDirective(name: "@custom") @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet", "@composeDirective" ]) @link(url: "https:\/\/specs.custom.dev\/custom\/v1.0", import: [ "@custom" ]) { +schema @composeDirective(name: "@custom") @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet", "@composeDirective" ]) @link(url: "https://specs.custom.dev/custom/v1.0", import: [ "@custom" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ComposeDirectiveTests.ExportDirectiveUsingTypeCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ComposeDirectiveTests.ExportDirectiveUsingTypeCodeFirst.graphql index 92387ea4b4a..c5b1f1012f0 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ComposeDirectiveTests.ExportDirectiveUsingTypeCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ComposeDirectiveTests.ExportDirectiveUsingTypeCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @composeDirective(name: "@custom") @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet", "@composeDirective" ]) @link(url: "https:\/\/specs.custom.dev\/custom\/v1.0", import: [ "@custom" ]) { +schema @composeDirective(name: "@custom") @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet", "@composeDirective" ]) @link(url: "https://specs.custom.dev/custom/v1.0", import: [ "@custom" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ExternalDirectiveTests.AnnotateExternalToTypeFieldAnnotationBased.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ExternalDirectiveTests.AnnotateExternalToTypeFieldAnnotationBased.graphql index 1c198381b69..d6d0d397aea 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ExternalDirectiveTests.AnnotateExternalToTypeFieldAnnotationBased.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ExternalDirectiveTests.AnnotateExternalToTypeFieldAnnotationBased.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@external", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@external", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ExternalDirectiveTests.AnnotateExternalToTypeFieldCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ExternalDirectiveTests.AnnotateExternalToTypeFieldCodeFirst.graphql index ba4d5cb570d..c54c20f0ee5 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ExternalDirectiveTests.AnnotateExternalToTypeFieldCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ExternalDirectiveTests.AnnotateExternalToTypeFieldCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@external", "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@external", "@key", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToClassAttributeAnnotationBased.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToClassAttributeAnnotationBased.graphql index a46ca1b71e3..84c5027b533 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToClassAttributeAnnotationBased.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToClassAttributeAnnotationBased.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: QueryOfTestTypePropertyDirective } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToClassAttributesAnnotationBased.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToClassAttributesAnnotationBased.graphql index 1839bd893fd..54c6478e95e 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToClassAttributesAnnotationBased.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToClassAttributesAnnotationBased.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: QueryOfTestTypePropertyDirectives } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToInterfaceAttributesAnnotationBased.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToInterfaceAttributesAnnotationBased.graphql index e448bba674a..5fbd6a82072 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToInterfaceAttributesAnnotationBased.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToInterfaceAttributesAnnotationBased.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: QueryOfTestTypeClassDirective } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToInterfaceTypeCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToInterfaceTypeCodeFirst.graphql index b1e69891b4b..31a70762103 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToInterfaceTypeCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToInterfaceTypeCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToObjectTypeAnnotationBased.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToObjectTypeAnnotationBased.graphql index a81e78cb445..329c13b15d0 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToObjectTypeAnnotationBased.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToObjectTypeAnnotationBased.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: QueryOfTestTypeClassDirective } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToObjectTypeCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToObjectTypeCodeFirst.graphql index c6e684063e1..089063f48ba 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToObjectTypeCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/KeyDirectiveTests.AnnotateKeyToObjectTypeCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToClassAttributeAnnotationBased.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToClassAttributeAnnotationBased.graphql index 04ac822c43d..5c4b8333f3c 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToClassAttributeAnnotationBased.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToClassAttributeAnnotationBased.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: QueryOfTestTypePropertyDirective } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToClassAttributesAnnotationBased.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToClassAttributesAnnotationBased.graphql index 61d772118cd..9110ed4c947 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToClassAttributesAnnotationBased.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToClassAttributesAnnotationBased.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: QueryOfTestTypePropertyDirectives } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToInterfaceAttributesAnnotationBased.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToInterfaceAttributesAnnotationBased.graphql index 2b616b6e08b..e98fadbe0d2 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToInterfaceAttributesAnnotationBased.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToInterfaceAttributesAnnotationBased.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: QueryOfTestTypeClassDirective } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToInterfaceTypeCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToInterfaceTypeCodeFirst.graphql index d30f9f7675e..b82f3e0523a 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToInterfaceTypeCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToInterfaceTypeCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToObjectTypeAnnotationBased.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToObjectTypeAnnotationBased.graphql index 125a39f476b..7b461c6aba3 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToObjectTypeAnnotationBased.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToObjectTypeAnnotationBased.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: QueryOfTestTypeClassDirective } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToObjectTypeCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToObjectTypeCodeFirst.graphql index dc014fb1937..659189a77a3 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToObjectTypeCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/NonResolvableKeyDirectiveTests.AnnotateKeyToObjectTypeCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/OverrideDirectiveTests.OverrideDirective_Annotation.snap b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/OverrideDirectiveTests.OverrideDirective_Annotation.snap index 90bb3e041cc..214f69ad683 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/OverrideDirectiveTests.OverrideDirective_Annotation.snap +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/OverrideDirectiveTests.OverrideDirective_Annotation.snap @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.0", import: [ "@key", "@override", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.0", import: [ "@key", "@override", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/OverrideDirectiveTests.OverrideDirective_Progressive_Annotation.snap b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/OverrideDirectiveTests.OverrideDirective_Progressive_Annotation.snap index 8f5a8cb9aa2..0d3768d1528 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/OverrideDirectiveTests.OverrideDirective_Progressive_Annotation.snap +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/OverrideDirectiveTests.OverrideDirective_Progressive_Annotation.snap @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.7", import: [ "@key", "@override", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.7", import: [ "@key", "@override", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirective_GetsAddedCorrectly_Annotations.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirective_GetsAddedCorrectly_Annotations.graphql index 2f166fc7998..1cffe4f611b 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirective_GetsAddedCorrectly_Annotations.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirective_GetsAddedCorrectly_Annotations.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet", "@policy" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet", "@policy" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirectives_GetAddedCorrectly_Annotations.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirectives_GetAddedCorrectly_Annotations.graphql index 2f166fc7998..1cffe4f611b 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirectives_GetAddedCorrectly_Annotations.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirectives_GetAddedCorrectly_Annotations.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet", "@policy" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet", "@policy" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirectives_GetAddedCorrectly_CodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirectives_GetAddedCorrectly_CodeFirst.graphql index 00aa253f46f..940f65f61eb 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirectives_GetAddedCorrectly_CodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/PolicyDirectiveTests.PolicyDirectives_GetAddedCorrectly_CodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@policy", "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@policy", "@key", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ProvidesDirectiveTests.AnnotateProvidesToClassAttributePureCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ProvidesDirectiveTests.AnnotateProvidesToClassAttributePureCodeFirst.graphql index ca96d395894..dd77e5838dd 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ProvidesDirectiveTests.AnnotateProvidesToClassAttributePureCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ProvidesDirectiveTests.AnnotateProvidesToClassAttributePureCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@provides", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@provides", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ProvidesDirectiveTests.AnnotateProvidesToFieldCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ProvidesDirectiveTests.AnnotateProvidesToFieldCodeFirst.graphql index 76d4a70aed8..4e61941e71e 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ProvidesDirectiveTests.AnnotateProvidesToFieldCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/ProvidesDirectiveTests.AnnotateProvidesToFieldCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@provides", "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@provides", "@key", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresDirectiveTests.AnnotateProvidesToClassAttributePureCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresDirectiveTests.AnnotateProvidesToClassAttributePureCodeFirst.graphql index 6c888376617..b6149f146c3 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresDirectiveTests.AnnotateProvidesToClassAttributePureCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresDirectiveTests.AnnotateProvidesToClassAttributePureCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@requires", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@requires", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresDirectiveTests.AnnotateProvidesToFieldCodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresDirectiveTests.AnnotateProvidesToFieldCodeFirst.graphql index e585c700436..eff914171bc 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresDirectiveTests.AnnotateProvidesToFieldCodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresDirectiveTests.AnnotateProvidesToFieldCodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@requires", "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@requires", "@key", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirective_GetsAddedCorrectly_Annotations.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirective_GetsAddedCorrectly_Annotations.graphql index 7540567cd2c..dd7cd51064e 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirective_GetsAddedCorrectly_Annotations.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirective_GetsAddedCorrectly_Annotations.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet", "@requiresScopes" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet", "@requiresScopes" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirectives_GetAddedCorrectly_Annotations.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirectives_GetAddedCorrectly_Annotations.graphql index 7540567cd2c..dd7cd51064e 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirectives_GetAddedCorrectly_Annotations.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirectives_GetAddedCorrectly_Annotations.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet", "@requiresScopes" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet", "@requiresScopes" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirectives_GetAddedCorrectly_CodeFirst.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirectives_GetAddedCorrectly_CodeFirst.graphql index f4ee4435310..726151185ec 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirectives_GetAddedCorrectly_CodeFirst.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/Directives/__snapshots__/RequiresScopesDirectiveTests.RequiresScopesDirectives_GetAddedCorrectly_CodeFirst.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@requiresScopes", "@key", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@requiresScopes", "@key", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/ServiceTypeTests.cs b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/ServiceTypeTests.cs index 317be68ad54..bd7ea9a239c 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/ServiceTypeTests.cs +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/ServiceTypeTests.cs @@ -32,7 +32,7 @@ public async Task TestServiceTypeEmptyQueryTypePureCodeFirst() .Parse((string)value!) .MatchInlineSnapshot( """ - schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { + schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@key", "@tag", "FieldSet" ]) { query: Query } @@ -88,7 +88,7 @@ public async Task TestServiceTypeTypePureCodeFirst() .Parse((string)value!) .MatchInlineSnapshot( """ - schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.2", import: [ "@key", "@tag", "FieldSet" ]) { + schema @link(url: "https://specs.apollo.dev/federation/v2.2", import: [ "@key", "@tag", "FieldSet" ]) { query: Query } diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/__snapshots__/BuiltInTypesShareableTests.Ensure_PagingInfo_Is_Shareable.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/__snapshots__/BuiltInTypesShareableTests.Ensure_PagingInfo_Is_Shareable.graphql index 2e92bc7ce0c..9b48e1d5755 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/__snapshots__/BuiltInTypesShareableTests.Ensure_PagingInfo_Is_Shareable.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/__snapshots__/BuiltInTypesShareableTests.Ensure_PagingInfo_Is_Shareable.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@shareable", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@shareable", "@tag", "FieldSet" ]) { query: Query } @@ -49,7 +49,7 @@ type _Service { "Links definitions within the document to external schemas." directive @link("Gets imported specification url." url: String! "Gets optional list of imported element names." import: [String!]) repeatable on SCHEMA -"Indicates that given object and\/or field can be resolved by multiple subgraphs." +"Indicates that given object and/or field can be resolved by multiple subgraphs." directive @shareable repeatable on OBJECT | FIELD_DEFINITION "Scalar representing a set of fields." diff --git a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/__snapshots__/BuiltInTypesShareableTests.Ensure_PagingInfo_Is_Shareable_When_Shareable_Already_Registered.graphql b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/__snapshots__/BuiltInTypesShareableTests.Ensure_PagingInfo_Is_Shareable_When_Shareable_Already_Registered.graphql index 2e92bc7ce0c..9b48e1d5755 100644 --- a/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/__snapshots__/BuiltInTypesShareableTests.Ensure_PagingInfo_Is_Shareable_When_Shareable_Already_Registered.graphql +++ b/src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/__snapshots__/BuiltInTypesShareableTests.Ensure_PagingInfo_Is_Shareable_When_Shareable_Already_Registered.graphql @@ -1,4 +1,4 @@ -schema @link(url: "https:\/\/specs.apollo.dev\/federation\/v2.6", import: [ "@shareable", "@tag", "FieldSet" ]) { +schema @link(url: "https://specs.apollo.dev/federation/v2.6", import: [ "@shareable", "@tag", "FieldSet" ]) { query: Query } @@ -49,7 +49,7 @@ type _Service { "Links definitions within the document to external schemas." directive @link("Gets imported specification url." url: String! "Gets optional list of imported element names." import: [String!]) repeatable on SCHEMA -"Indicates that given object and\/or field can be resolved by multiple subgraphs." +"Indicates that given object and/or field can be resolved by multiple subgraphs." directive @shareable repeatable on OBJECT | FIELD_DEFINITION "Scalar representing a set of fields." diff --git a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/EmailAddressTypeTests.Schema_WithScalar_IsMatch.snap b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/EmailAddressTypeTests.Schema_WithScalar_IsMatch.snap index b8311bb1bdc..692d3deb84b 100644 --- a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/EmailAddressTypeTests.Schema_WithScalar_IsMatch.snap +++ b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/EmailAddressTypeTests.Schema_WithScalar_IsMatch.snap @@ -6,5 +6,5 @@ type Query { scalar: EmailAddress } -"The EmailAddress scalar type constitutes a valid email address, represented as a UTF-8 character sequence. The scalar follows the specification defined by the HTML Spec https:\/\/html.spec.whatwg.org\/multipage\/input.html#valid-e-mail-address." +"The EmailAddress scalar type constitutes a valid email address, represented as a UTF-8 character sequence. The scalar follows the specification defined by the HTML Spec https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address." scalar EmailAddress diff --git a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/HslTypeTests.Schema_WithScalar_IsMatch.snap b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/HslTypeTests.Schema_WithScalar_IsMatch.snap index 5cdde7651ae..69b25a63c45 100644 --- a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/HslTypeTests.Schema_WithScalar_IsMatch.snap +++ b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/HslTypeTests.Schema_WithScalar_IsMatch.snap @@ -6,5 +6,5 @@ type Query { scalar: Hsl } -"The Hsl scalar type represents a valid CSS HSL color defined in https:\/\/www.w3.org\/TR\/css-color-3\/#hsl-color." +"The Hsl scalar type represents a valid CSS HSL color defined in https://www.w3.org/TR/css-color-3/#hsl-color." scalar Hsl diff --git a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/HslaTypeTests.Schema_WithScalar_IsMatch.snap b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/HslaTypeTests.Schema_WithScalar_IsMatch.snap index 6683c371f89..04c4571bfbb 100644 --- a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/HslaTypeTests.Schema_WithScalar_IsMatch.snap +++ b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/HslaTypeTests.Schema_WithScalar_IsMatch.snap @@ -6,5 +6,5 @@ type Query { scalar: Hsla } -"The Hsla scalar type represents a CSS HSLA color as defined in https:\/\/www.w3.org\/TR\/css-color-3\/#hsla-color." +"The Hsla scalar type represents a CSS HSLA color as defined in https://www.w3.org/TR/css-color-3/#hsla-color." scalar Hsla diff --git a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/IsbnTypeTests.Schema_WithScalar_IsMatch.snap b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/IsbnTypeTests.Schema_WithScalar_IsMatch.snap index b83335a583c..5b36b561c03 100644 --- a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/IsbnTypeTests.Schema_WithScalar_IsMatch.snap +++ b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/IsbnTypeTests.Schema_WithScalar_IsMatch.snap @@ -6,5 +6,5 @@ type Query { scalar: Isbn } -"The ISBN scalar type is an ISBN-10 or ISBN-13 number: https:\/\/en.wikipedia.org\/wiki\/International_Standard_Book_Number." +"The ISBN scalar type is an ISBN-10 or ISBN-13 number: https://en.wikipedia.org/wiki/International_Standard_Book_Number." scalar Isbn diff --git a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/RgbTypeTests.Schema_WithScalar_IsMatch.snap b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/RgbTypeTests.Schema_WithScalar_IsMatch.snap index b1c7749582a..a4175a462b3 100644 --- a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/RgbTypeTests.Schema_WithScalar_IsMatch.snap +++ b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/RgbTypeTests.Schema_WithScalar_IsMatch.snap @@ -6,5 +6,5 @@ type Query { scalar: Rgb } -"The Rgb scalar type represents a valid CSS RGB color as defined in https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/color_value#rgb()_and_rgba()." +"The Rgb scalar type represents a valid CSS RGB color as defined in https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#rgb()_and_rgba()." scalar Rgb diff --git a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/RgbaTypeTests.Schema_WithScalar_IsMatch.snap b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/RgbaTypeTests.Schema_WithScalar_IsMatch.snap index 6c7ed19f886..891e5a5dfcf 100644 --- a/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/RgbaTypeTests.Schema_WithScalar_IsMatch.snap +++ b/src/HotChocolate/Core/test/Types.Scalars.Tests/__snapshots__/RgbaTypeTests.Schema_WithScalar_IsMatch.snap @@ -6,5 +6,5 @@ type Query { scalar: Rgba } -"The Rgba scalar type represents a valid CSS RGBA color as defined in https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/color_value#rgb()_and_rgba()." +"The Rgba scalar type represents a valid CSS RGBA color as defined in https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#rgb()_and_rgba()." scalar Rgba diff --git a/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.InferDateTime.snap b/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.InferDateTime.snap index 83626865db5..eb76e6398fa 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.InferDateTime.snap +++ b/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.InferDateTime.snap @@ -11,4 +11,4 @@ type QueryWithDateTime { directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." -scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") +scalar DateTime @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") diff --git a/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.InferDateTimeFromModel.snap b/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.InferDateTimeFromModel.snap index ff5349dfa2b..0c7e237b8d2 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.InferDateTimeFromModel.snap +++ b/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.InferDateTimeFromModel.snap @@ -52,4 +52,4 @@ directive @specifiedBy("The specifiedBy URL points to a human-readable specifica scalar Date "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." -scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") +scalar DateTime @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") diff --git a/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.TypeDiscovery_Should_InferStructs.snap b/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.TypeDiscovery_Should_InferStructs.snap index 4c89a2c2cf2..b722b48816b 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.TypeDiscovery_Should_InferStructs.snap +++ b/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeDiscoveryTests.TypeDiscovery_Should_InferStructs.snap @@ -22,6 +22,6 @@ type QueryTypeWithStruct { directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." -scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") +scalar DateTime @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") -scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") +scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122") diff --git a/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeTrimmerTests.Executable_Directives_Should_Be_Visited.snap b/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeTrimmerTests.Executable_Directives_Should_Be_Visited.snap index 4de09bf1441..375952f05f4 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeTrimmerTests.Executable_Directives_Should_Be_Visited.snap +++ b/src/HotChocolate/Core/test/Types.Tests/Configuration/__snapshots__/TypeTrimmerTests.Executable_Directives_Should_Be_Visited.snap @@ -1,4 +1,4 @@ -schema { +schema { query: abc } @@ -19,4 +19,4 @@ directive @_abc(arg: UUID) on QUERY | OBJECT "The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions." directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR -scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") +scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122") diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/Directives/SpecifiedByDirectiveTypeTests.cs b/src/HotChocolate/Core/test/Types.Tests/Types/Directives/SpecifiedByDirectiveTypeTests.cs index 6161fb7d8be..b4714e9e9fa 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Types/Directives/SpecifiedByDirectiveTypeTests.cs +++ b/src/HotChocolate/Core/test/Types.Tests/Types/Directives/SpecifiedByDirectiveTypeTests.cs @@ -58,7 +58,7 @@ type Query1 { directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." - scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") + scalar DateTime @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") """) .UseField(next => next) .BuildSchemaAsync(); diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/Directives/__snapshots__/SpecifiedByDirectiveTypeTests.EnsureSpecifiedByDirectiveExistsInSdl.graphql b/src/HotChocolate/Core/test/Types.Tests/Types/Directives/__snapshots__/SpecifiedByDirectiveTypeTests.EnsureSpecifiedByDirectiveExistsInSdl.graphql index 12a1b3b2124..a160fc4fa8e 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Types/Directives/__snapshots__/SpecifiedByDirectiveTypeTests.EnsureSpecifiedByDirectiveExistsInSdl.graphql +++ b/src/HotChocolate/Core/test/Types.Tests/Types/Directives/__snapshots__/SpecifiedByDirectiveTypeTests.EnsureSpecifiedByDirectiveExistsInSdl.graphql @@ -10,4 +10,4 @@ type Query1 { directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." -scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") +scalar DateTime @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/Relay/__snapshots__/IdAttributeTests.Id_Type_Is_Correctly_Inferred.snap b/src/HotChocolate/Core/test/Types.Tests/Types/Relay/__snapshots__/IdAttributeTests.Id_Type_Is_Correctly_Inferred.snap index 1b888ee3c62..9807321cd0c 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Types/Relay/__snapshots__/IdAttributeTests.Id_Type_Is_Correctly_Inferred.snap +++ b/src/HotChocolate/Core/test/Types.Tests/Types/Relay/__snapshots__/IdAttributeTests.Id_Type_Is_Correctly_Inferred.snap @@ -64,4 +64,4 @@ input FooInput { "The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions." directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR -scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") +scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122") diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTimeTypeTests.LocalDateTime_As_Argument_Schema.snap b/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTimeTypeTests.LocalDateTime_As_Argument_Schema.snap index f17326a5b1d..73b3232e2f7 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTimeTypeTests.LocalDateTime_As_Argument_Schema.snap +++ b/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTimeTypeTests.LocalDateTime_As_Argument_Schema.snap @@ -10,5 +10,5 @@ type QueryDateTime1 { foo: Foo! } -"The `LocalDateTime` scalar type is a local date\/time string (i.e., with no associated timezone) with the format `YYYY-MM-DDThh:mm:ss`." +"The `LocalDateTime` scalar type is a local date/time string (i.e., with no associated timezone) with the format `YYYY-MM-DDThh:mm:ss`." scalar LocalDateTime diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTimeTypeTests.LocalDateTime_As_ReturnValue_Schema.snap b/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTimeTypeTests.LocalDateTime_As_ReturnValue_Schema.snap index f5eff199843..955dd9f8a76 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTimeTypeTests.LocalDateTime_As_ReturnValue_Schema.snap +++ b/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTimeTypeTests.LocalDateTime_As_ReturnValue_Schema.snap @@ -10,5 +10,5 @@ type QueryDateTime2 { bar: Bar! } -"The `LocalDateTime` scalar type is a local date\/time string (i.e., with no associated timezone) with the format `YYYY-MM-DDThh:mm:ss`." +"The `LocalDateTime` scalar type is a local date/time string (i.e., with no associated timezone) with the format `YYYY-MM-DDThh:mm:ss`." scalar LocalDateTime diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTypeTests.DateOnly_As_Argument_Schema.snap b/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTypeTests.DateOnly_As_Argument_Schema.snap index 9d077e1e257..58a106f30aa 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTypeTests.DateOnly_As_Argument_Schema.snap +++ b/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTypeTests.DateOnly_As_Argument_Schema.snap @@ -14,4 +14,4 @@ type QueryDateTime1 { directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR "The `LocalDate` scalar represents a date without a time-zone in the ISO-8601 calendar system." -scalar LocalDate @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/local-date.html") +scalar LocalDate @specifiedBy(url: "https://scalars.graphql.org/andimarek/local-date.html") diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTypeTests.DateOnly_As_ReturnValue_Schema.snap b/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTypeTests.DateOnly_As_ReturnValue_Schema.snap index 37fc0b67381..9c425876836 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTypeTests.DateOnly_As_ReturnValue_Schema.snap +++ b/src/HotChocolate/Core/test/Types.Tests/Types/Scalars/__snapshots__/LocalDateTypeTests.DateOnly_As_ReturnValue_Schema.snap @@ -14,4 +14,4 @@ type QueryDateTime2 { directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR "The `LocalDate` scalar represents a date without a time-zone in the ISO-8601 calendar system." -scalar LocalDate @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/local-date.html") +scalar LocalDate @specifiedBy(url: "https://scalars.graphql.org/andimarek/local-date.html") diff --git a/src/HotChocolate/Core/test/Types.Tests/__snapshots__/CodeFirstTests.Change_DefaultBinding_For_DateTime.snap b/src/HotChocolate/Core/test/Types.Tests/__snapshots__/CodeFirstTests.Change_DefaultBinding_For_DateTime.snap index 7cc2c02d9a3..e582c172ff7 100644 --- a/src/HotChocolate/Core/test/Types.Tests/__snapshots__/CodeFirstTests.Change_DefaultBinding_For_DateTime.snap +++ b/src/HotChocolate/Core/test/Types.Tests/__snapshots__/CodeFirstTests.Change_DefaultBinding_For_DateTime.snap @@ -18,4 +18,4 @@ directive @specifiedBy("The specifiedBy URL points to a human-readable specifica scalar Date "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." -scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") +scalar DateTime @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/Types/__snapshots__/ComparableOperationInputTests.Create_Implicit_Operation.graphql b/src/HotChocolate/Data/test/Data.Filters.Tests/Types/__snapshots__/ComparableOperationInputTests.Create_Implicit_Operation.graphql index 6257ec3dbe0..22a312cc43b 100644 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/Types/__snapshots__/ComparableOperationInputTests.Create_Implicit_Operation.graphql +++ b/src/HotChocolate/Data/test/Data.Filters.Tests/Types/__snapshots__/ComparableOperationInputTests.Create_Implicit_Operation.graphql @@ -339,7 +339,7 @@ scalar Byte scalar Decimal "The `LocalDate` scalar represents a date without a time-zone in the ISO-8601 calendar system." -scalar LocalDate @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/local-date.html") +scalar LocalDate @specifiedBy(url: "https://scalars.graphql.org/andimarek/local-date.html") "The LocalTime scalar type is a local time string (i.e., with no associated timezone) in 24-hr HH:mm:ss." scalar LocalTime @@ -350,4 +350,4 @@ scalar Long "The `Short` scalar type represents non-fractional signed whole 16-bit numeric values. Short can represent values between -(2^15) and 2^15 - 1." scalar Short -scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986") +scalar URL @specifiedBy(url: "https://tools.ietf.org/html/rfc3986") diff --git a/src/HotChocolate/Data/test/Data.Filters.Tests/Types/__snapshots__/ComparableOperationInputTests.Create_Implicit_Operation_Normalized.graphql b/src/HotChocolate/Data/test/Data.Filters.Tests/Types/__snapshots__/ComparableOperationInputTests.Create_Implicit_Operation_Normalized.graphql index ded7fdaf3a0..dc55193f61a 100644 --- a/src/HotChocolate/Data/test/Data.Filters.Tests/Types/__snapshots__/ComparableOperationInputTests.Create_Implicit_Operation_Normalized.graphql +++ b/src/HotChocolate/Data/test/Data.Filters.Tests/Types/__snapshots__/ComparableOperationInputTests.Create_Implicit_Operation_Normalized.graphql @@ -189,7 +189,7 @@ scalar Byte scalar Decimal "The `LocalDate` scalar represents a date without a time-zone in the ISO-8601 calendar system." -scalar LocalDate @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/local-date.html") +scalar LocalDate @specifiedBy(url: "https://scalars.graphql.org/andimarek/local-date.html") "The LocalTime scalar type is a local time string (i.e., with no associated timezone) in 24-hr HH:mm:ss." scalar LocalTime @@ -200,4 +200,4 @@ scalar Long "The `Short` scalar type represents non-fractional signed whole 16-bit numeric values. Short can represent values between -(2^15) and 2^15 - 1." scalar Short -scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986") +scalar URL @specifiedBy(url: "https://tools.ietf.org/html/rfc3986") diff --git a/src/HotChocolate/Language/src/Language.SyntaxTree/Utilities/SyntaxWriterExtensions.cs b/src/HotChocolate/Language/src/Language.SyntaxTree/Utilities/SyntaxWriterExtensions.cs index f7b21f8face..4b8d8269d01 100644 --- a/src/HotChocolate/Language/src/Language.SyntaxTree/Utilities/SyntaxWriterExtensions.cs +++ b/src/HotChocolate/Language/src/Language.SyntaxTree/Utilities/SyntaxWriterExtensions.cs @@ -195,10 +195,6 @@ private static void WriteEscapeCharacter( WriteEscapeCharacterHelper(writer, '\\'); break; - case '/': - WriteEscapeCharacterHelper(writer, '/'); - break; - case '\b': WriteEscapeCharacterHelper(writer, 'b'); break; diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_Implicit_Operation.graphql b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_Implicit_Operation.graphql index 66f1d465bbc..a9fe2a25ed9 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_Implicit_Operation.graphql +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_Implicit_Operation.graphql @@ -143,7 +143,7 @@ input FooFilterInput { directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." -scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") +scalar DateTime @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") "The `Decimal` scalar type represents a decimal floating-point number." scalar Decimal @@ -154,4 +154,4 @@ scalar Long "The `Short` scalar type represents non-fractional signed whole 16-bit numeric values. Short can represent values between -(2^15) and 2^15 - 1." scalar Short -scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") +scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122") diff --git a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_Implicit_Operation_Normalized.graphql b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_Implicit_Operation_Normalized.graphql index c4dd55db397..bc8bd78ed90 100644 --- a/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_Implicit_Operation_Normalized.graphql +++ b/src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/__snapshots__/MongoDbFilterVisitorComparableTests.Create_Implicit_Operation_Normalized.graphql @@ -128,7 +128,7 @@ input UuidOperationFilterInput { directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." -scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") +scalar DateTime @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") "The `Decimal` scalar type represents a decimal floating-point number." scalar Decimal @@ -139,4 +139,4 @@ scalar Long "The `Short` scalar type represents non-fractional signed whole 16-bit numeric values. Short can represent values between -(2^15) and 2^15 - 1." scalar Short -scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") +scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122") diff --git a/src/HotChocolate/MongoDb/test/Types.MongoDb/__snapshots__/BsonTypeTests.Output_Should_BindAllRuntimeTypes.graphql b/src/HotChocolate/MongoDb/test/Types.MongoDb/__snapshots__/BsonTypeTests.Output_Should_BindAllRuntimeTypes.graphql index ad00b937036..ca437871246 100644 --- a/src/HotChocolate/MongoDb/test/Types.MongoDb/__snapshots__/BsonTypeTests.Output_Should_BindAllRuntimeTypes.graphql +++ b/src/HotChocolate/MongoDb/test/Types.MongoDb/__snapshots__/BsonTypeTests.Output_Should_BindAllRuntimeTypes.graphql @@ -21,5 +21,5 @@ type OutputQuery { "The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions." directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR -"BSON is a binary format in which zero or more ordered key\/value pairs are stored as a single entity. The results are returned as JSON objects" -scalar Bson @specifiedBy(url: "https:\/\/bsonspec.org\/spec.html") +"BSON is a binary format in which zero or more ordered key/value pairs are stored as a single entity. The results are returned as JSON objects" +scalar Bson @specifiedBy(url: "https://bsonspec.org/spec.html") diff --git a/src/HotChocolate/MongoDb/test/Types.MongoDb/__snapshots__/ObjectIdTypeTests.Should_MapObjectIdToScalar.snap b/src/HotChocolate/MongoDb/test/Types.MongoDb/__snapshots__/ObjectIdTypeTests.Should_MapObjectIdToScalar.snap index fdab50bd1d8..f4fd19c0744 100644 --- a/src/HotChocolate/MongoDb/test/Types.MongoDb/__snapshots__/ObjectIdTypeTests.Should_MapObjectIdToScalar.snap +++ b/src/HotChocolate/MongoDb/test/Types.MongoDb/__snapshots__/ObjectIdTypeTests.Should_MapObjectIdToScalar.snap @@ -15,4 +15,4 @@ type Query { directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR "The ObjectId scalar type represents a 12 byte ObjectId, represented as UTF-8 character sequences." -scalar ObjectId @specifiedBy(url: "https:\/\/docs.mongodb.com\/manual\/reference\/bson-types\/#objectid") +scalar ObjectId @specifiedBy(url: "https://docs.mongodb.com/manual/reference/bson-types/#objectid") diff --git a/src/HotChocolate/Utilities/test/Utilities.Introspection.Tests/__snapshots__/IntrospectionFormatterTests.DeserializeStarWarsIntrospectionResult.snap b/src/HotChocolate/Utilities/test/Utilities.Introspection.Tests/__snapshots__/IntrospectionFormatterTests.DeserializeStarWarsIntrospectionResult.snap index b59eabdafe9..f02d1d9b8ea 100644 --- a/src/HotChocolate/Utilities/test/Utilities.Introspection.Tests/__snapshots__/IntrospectionFormatterTests.DeserializeStarWarsIntrospectionResult.snap +++ b/src/HotChocolate/Utilities/test/Utilities.Introspection.Tests/__snapshots__/IntrospectionFormatterTests.DeserializeStarWarsIntrospectionResult.snap @@ -1,4 +1,4 @@ -schema { +schema { query: Query mutation: Mutation subscription: Subscription @@ -16,7 +16,7 @@ scalar Boolean "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 `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http:\/\/en.wikipedia.org\/wiki\/IEEE_floating_point)." +"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point)." scalar Float scalar Decimal diff --git a/src/Nitro/CommandLine/src/CommandLine/schema.graphql b/src/Nitro/CommandLine/src/CommandLine/schema.graphql index 3821efbb301..90d78f377d9 100644 --- a/src/Nitro/CommandLine/src/CommandLine/schema.graphql +++ b/src/Nitro/CommandLine/src/CommandLine/schema.graphql @@ -4842,14 +4842,14 @@ directive @specifiedBy("The specifiedBy URL points to a human-readable specifica scalar Any "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." -scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") +scalar DateTime @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") "The `Long` scalar type represents non-fractional signed whole 64-bit numeric values. Long can represent values between -(2^63) and 2^63 - 1." scalar Long -scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986") +scalar URL @specifiedBy(url: "https://tools.ietf.org/html/rfc3986") -scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") +scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122") "The `Upload` scalar type represents a file upload." scalar Upload diff --git a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/BridgeClientDemo.graphql b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/BridgeClientDemo.graphql index 6b1ca0f5888..3bbb4aad328 100644 --- a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/BridgeClientDemo.graphql +++ b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/BridgeClientDemo.graphql @@ -619,11 +619,11 @@ enum GarageType { "Energetická vyhláška" enum EnergyCertificate { - "č. 148\/2007 Sb." + "č. 148/2007 Sb." V147_2007 - "č. 78\/2013 Sb." + "č. 78/2013 Sb." V78_2013 - "č. 264\/2020 Sb." + "č. 264/2020 Sb." V264_2020 } @@ -972,7 +972,7 @@ type RentInfo { restriction: [Restriction!]! } -"Doplnující informace podle typu služby (prodej\/pronájem)" +"Doplnující informace podle typu služby (prodej/pronájem)" union ServiceTypeInfo = TransferInfo | RentInfo "Doplnující informace pro prodej" diff --git a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/PaymentSchema.graphql b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/PaymentSchema.graphql index dd82823f162..91b80c4f609 100644 --- a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/PaymentSchema.graphql +++ b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/PaymentSchema.graphql @@ -497,7 +497,7 @@ type BlacklistPermissions { canMakeDecisions: Boolean! "The user is allowed to remove clients, providers, claim contacts or custom entries from the blacklist." canRemove: Boolean! - "The user is allowed to view the history of manual addition\/removal to\/from the blacklist, and the history of match decision changes." + "The user is allowed to view the history of manual addition/removal to/from the blacklist, and the history of match decision changes." canViewHistory: Boolean! } @@ -603,7 +603,7 @@ type CalculationResultItem { questionnaires: [CalculationQuestionnaire!]! } -"An error that occurs when the product selections and\/or questionnaire answers given to a calculation caused a stalemate while being applied.\nMeaning that the quote\/policy never ended up in a state where selection could be applied." +"An error that occurs when the product selections and/or questionnaire answers given to a calculation caused a stalemate while being applied.\nMeaning that the quote/policy never ended up in a state where selection could be applied." type CalculationStalemateError { "The specific stalemate errors." errors: [StalemateError!]! @@ -1666,7 +1666,7 @@ type CommunicationTemplateResource { subject: String! } -"This class represents the ongoing creation of a new Communication in NIS. The communication token is created by NIS before\nthe generation\/editing of template output is handed off to an external service." +"This class represents the ongoing creation of a new Communication in NIS. The communication token is created by NIS before\nthe generation/editing of template output is handed off to an external service." type CommunicationToken { "The list of ids of temporary files that should be attached to the final communication." attachedFileIds: [Int!] @@ -2481,8 +2481,8 @@ type Mutation @authorize(apply: BEFORE_RESOLVER, policy: "authorized") { denyClaim(denyReasonId: Int denyRemark: String id: Int!): UpdateClaimStatusResult "Hangs up a PhoneCall in NIS. This will trigger the creation of any PhoneNote communications resulting from the call." endPhoneCall(input: EndPhoneCallInput!): PhoneCallResult! - "Creates a questionnaire. This can be used to build a set of valid answers to a questionnaire.\nThe answers are not saved. The answers are meant to be given elsewhere that would save them, i.e. saving a task, or creating a quote\/policy." - evaluateQuestionnaire("The answers to apply." answers: [QuestionnaireAnswerInput!] "The identifier of the questionnaire definition." definitionId: Int! "An optional list of tags that can be used to control which sections and elements are shown.\nThis is relevant for questionnaires used in policy\/quote calculation, where tags output by the product can influence the questionnaire." tags: [String!]): QuestionnaireEvaluationResult + "Creates a questionnaire. This can be used to build a set of valid answers to a questionnaire.\nThe answers are not saved. The answers are meant to be given elsewhere that would save them, i.e. saving a task, or creating a quote/policy." + evaluateQuestionnaire("The answers to apply." answers: [QuestionnaireAnswerInput!] "The identifier of the questionnaire definition." definitionId: Int! "An optional list of tags that can be used to control which sections and elements are shown.\nThis is relevant for questionnaires used in policy/quote calculation, where tags output by the product can influence the questionnaire." tags: [String!]): QuestionnaireEvaluationResult "Marks the given payments as exported, but does not generate a payment export file." exportPayments("A guid identifying the payment export format." exportFormatUid: UUID! "A list of payment identifiers." paymentIds: [Int!]!): ExportPaymentsResult! generateClaimDocument(claimId: Int! templateId: Int!): GenerateDocumentResult @@ -4478,13 +4478,13 @@ input CalculationCategoryInput { } input CalculationClientSelectionInput { - "Use an existing company client, and optionally update it. The changes aren't saved unless given as part of a mutation that creates or alters a policy\/quote." + "Use an existing company client, and optionally update it. The changes aren't saved unless given as part of a mutation that creates or alters a policy/quote." company: UpdateCompanyClientInput "Creates a new company client." newCompany: CreateCompanyClientInput "Creates a new person client." newPerson: CreatePersonClientInput - "Use an existing person client, and optionally update it. The changes aren't saved unless given as part of a mutation that creates or alters a policy\/quote." + "Use an existing person client, and optionally update it. The changes aren't saved unless given as part of a mutation that creates or alters a policy/quote." person: UpdatePersonClientInput } @@ -4943,27 +4943,27 @@ input CreateClaimPaymentGuaranteeLineInput { } input CreateClaimPolicyInput { - "Specifies the insured categories of the policy\/quote. This is only used for collective products." + "Specifies the insured categories of the policy/quote. This is only used for collective products." categories: [CalculationCategoryInput!] - "The cover period of the policy\/quote." + "The cover period of the policy/quote." coverage: DateRangeInput! "The currency code to use. Must be provided if the product specifies more than one currency." currencyCode: String "Specifies which non-individual elements are selected." elementSelection: [ProductElementSelectionInput!] - "The index of the holder client of the policy\/quote.\nThe value is the zero-based index of a client added to the calculation.\nIn the context of creating a claim, it is the zero-based index of a claimant." + "The index of the holder client of the policy/quote.\nThe value is the zero-based index of a client added to the calculation.\nIn the context of creating a claim, it is the zero-based index of a claimant." holderClientIndex: Int! = 0 - "Specifies the insured clients\/items\/groups of the policy\/quote." + "Specifies the insured clients/items/groups of the policy/quote." insured: [CalculationInsuredInput!]! - "The date the policy\/quote is issued on. When omitted, the policy will be issued today." + "The date the policy/quote is issued on. When omitted, the policy will be issued today." issueOn: Date - "The identifier of the organisation the policy\/quote should be issued under. When omitted, the organisation of the current user is used." + "The identifier of the organisation the policy/quote should be issued under. When omitted, the organisation of the current user is used." organisationId: Int - "The identifier of the product to issue\/quote." + "The identifier of the product to issue/quote." productId: Int! "Assigns values to product properties that are not assigned individually." propertyValues: [ProductPropertyAssignmentInput!] - "Specifies answers to questionnaires that apply to the policy\/quote." + "Specifies answers to questionnaires that apply to the policy/quote." questionnaires: [CalculationQuestionnaireAnswersInput!] reference: String } @@ -5704,33 +5704,33 @@ input PaymentOrderInput { } input PolicyCreateItemInput { - "Specifies the insured categories of the policy\/quote. This is only used for collective products." + "Specifies the insured categories of the policy/quote. This is only used for collective products." categories: [CalculationCategoryInput!] - "The cover period of the policy\/quote." + "The cover period of the policy/quote." coverage: DateRangeInput! "The currency code to use. Must be provided if the product specifies more than one currency." currencyCode: String "Specifies which non-individual elements are selected." elementSelection: [ProductElementSelectionInput!] - "The index of the holder client of the policy\/quote.\nThe value is the zero-based index of a client added to the calculation.\nIn the context of creating a claim, it is the zero-based index of a claimant." + "The index of the holder client of the policy/quote.\nThe value is the zero-based index of a client added to the calculation.\nIn the context of creating a claim, it is the zero-based index of a claimant." holderClientIndex: Int! = 0 - "Specifies the insured clients\/items\/groups of the policy\/quote." + "Specifies the insured clients/items/groups of the policy/quote." insured: [CalculationInsuredInput!]! "Specifies that the policy should be marked as being created from an external source. This can for example be useful when a policy is created from an external web shop or portal." isExternal: Boolean - "The date the policy\/quote is issued on. When omitted, the policy will be issued today." + "The date the policy/quote is issued on. When omitted, the policy will be issued today." issueOn: Date - "The identifier of the organisation the policy\/quote should be issued under. When omitted, the organisation of the current user is used." + "The identifier of the organisation the policy/quote should be issued under. When omitted, the organisation of the current user is used." organisationId: Int - "The index of the owner client of the policy\/quote. The owner is not part of the policy\/quote, but can be used to associate a policy\/quote with a client (i.e. a company)" + "The index of the owner client of the policy/quote. The owner is not part of the policy/quote, but can be used to associate a policy/quote with a client (i.e. a company)" ownerClientIndex: Int "Specifies how payment of the policy should happen." payment: PolicyPaymentInput! - "The identifier of the product to issue\/quote." + "The identifier of the product to issue/quote." productId: Int! "Assigns values to product properties that are not assigned individually." propertyValues: [ProductPropertyAssignmentInput!] - "Specifies answers to questionnaires that apply to the policy\/quote." + "Specifies answers to questionnaires that apply to the policy/quote." questionnaires: [CalculationQuestionnaireAnswersInput!] salesChannelNumber: Int } @@ -5796,31 +5796,31 @@ input QuestionnaireAnswerValueInput { } input QuoteCalculationItemInput { - "Specifies the insured categories of the policy\/quote. This is only used for collective products." + "Specifies the insured categories of the policy/quote. This is only used for collective products." categories: [CalculationCategoryInput!] - "The cover period of the policy\/quote." + "The cover period of the policy/quote." coverage: DateRangeInput! "The currency code to use. Must be provided if the product specifies more than one currency." currencyCode: String "Specifies which non-individual elements are selected." elementSelection: [ProductElementSelectionInput!] - "The index of the holder client of the policy\/quote.\nThe value is the zero-based index of a client added to the calculation.\nIn the context of creating a claim, it is the zero-based index of a claimant." + "The index of the holder client of the policy/quote.\nThe value is the zero-based index of a client added to the calculation.\nIn the context of creating a claim, it is the zero-based index of a claimant." holderClientIndex: Int! = 0 - "Specifies the insured clients\/items\/groups of the policy\/quote." + "Specifies the insured clients/items/groups of the policy/quote." insured: [CalculationInsuredInput!]! - "The date the policy\/quote is issued on. When omitted, the policy will be issued today." + "The date the policy/quote is issued on. When omitted, the policy will be issued today." issueOn: Date - "The identifier of the organisation the policy\/quote should be issued under. When omitted, the organisation of the current user is used." + "The identifier of the organisation the policy/quote should be issued under. When omitted, the organisation of the current user is used." organisationId: Int - "The index of the owner client of the policy\/quote. The owner is not part of the policy\/quote, but can be used to associate a policy\/quote with a client (i.e. a company)" + "The index of the owner client of the policy/quote. The owner is not part of the policy/quote, but can be used to associate a policy/quote with a client (i.e. a company)" ownerClientIndex: Int "Specifies how payment of the eventual policy should happen. When specified, the result will include a payment schedule." payment: PolicyPaymentInput - "The identifier of the product to issue\/quote." + "The identifier of the product to issue/quote." productId: Int! "Assigns values to product properties that are not assigned individually." propertyValues: [ProductPropertyAssignmentInput!] - "Specifies answers to questionnaires that apply to the policy\/quote." + "Specifies answers to questionnaires that apply to the policy/quote." questionnaires: [CalculationQuestionnaireAnswersInput!] salesChannelNumber: Int } @@ -6849,7 +6849,7 @@ input UserOrderInput { "Specifies what should happen based on the validity of an address." enum AddressValidityAction { - "The address is valid and\/or invalid addresses are ignored." + "The address is valid and/or invalid addresses are ignored." NONE "The address is invalid, and a warning should be shown." WARN @@ -7540,7 +7540,7 @@ enum PurchaseInvoiceBatchingMethod { enum QuestionnaireType { "The questionnaire is used to determine the eligibility of insured, which means the questionnaire should be shown during calculation." ELIGIBILITY - "The questionnaire is a survey, which means it does not affect the quote\/policy, and can be shown after calculation." + "The questionnaire is a survey, which means it does not affect the quote/policy, and can be shown after calculation." SURVEY } @@ -7653,11 +7653,11 @@ enum ViewRegistrationObjectType { COMMUNICATION } -"Specifies the mode to use to limit the visibility of entities based on department\/organisation access." +"Specifies the mode to use to limit the visibility of entities based on department/organisation access." enum VisibilityLimitMode { "The visibility is not limited for this user." NONE - "The user can only see entities linked to the departments\/organisations the user has access to." + "The user can only see entities linked to the departments/organisations the user has access to." SELECTED_ONLY } @@ -7676,7 +7676,7 @@ directive @stream("Streamed when true." if: Boolean "The initial elements that s scalar Date "The `DateTime` scalar represents an exact point in time. This point in time is specified by having an offset to UTC and does not use a time zone." -scalar DateTime @specifiedBy(url: "https:\/\/scalars.graphql.org\/andimarek\/date-time.html") +scalar DateTime @specifiedBy(url: "https://scalars.graphql.org/andimarek/date-time.html") "The `Decimal` scalar type represents a decimal floating-point number." scalar Decimal @@ -7687,4 +7687,4 @@ scalar LocalDateTime "The `Long` scalar type represents non-fractional signed whole 64-bit numeric values. Long can represent values between -(2^63) and 2^63 - 1." scalar Long -scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122") +scalar UUID @specifiedBy(url: "https://tools.ietf.org/html/rfc4122") diff --git a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/Schema_Bug_2.graphql b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/Schema_Bug_2.graphql index a5b7613add4..6031f388f92 100644 --- a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/Schema_Bug_2.graphql +++ b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.CSharp.Tests/__resources__/Schema_Bug_2.graphql @@ -238,7 +238,7 @@ input AddStepToProjectInput { insertAfterStepId: Int "The id of the card" cardId: String! - "The track (open \/ restricted \/ closed)" + "The track (open / restricted / closed)" track: ProjectTrack! "The techniques for this step" techniques: [AddStepTechniqueInput]! @@ -312,7 +312,7 @@ input MoveStepToTrackInput { id: Guid! "The id of the step to move" stepId: Int! - "The track (open \/ restricted \/ closed) to move the step to" + "The track (open / restricted / closed) to move the step to" track: ProjectTrack! } diff --git a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.Tests/__resources__/GitHub.graphql b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.Tests/__resources__/GitHub.graphql index 4f38afd3130..4dce8419e22 100644 --- a/src/StrawberryShake/CodeGeneration/test/CodeGeneration.Tests/__resources__/GitHub.graphql +++ b/src/StrawberryShake/CodeGeneration/test/CodeGeneration.Tests/__resources__/GitHub.graphql @@ -2071,7 +2071,7 @@ type CreatePullRequestPayload { input CreateRefInput { "The Node ID of the Repository to create the Ref in." repositoryId: ID! - "The fully qualified name of the new Ref (ie: `refs\/heads\/my_new_branch`)." + "The fully qualified name of the new Ref (ie: `refs/heads/my_new_branch`)." name: String! "The GitObjectID that the new Ref shall target. Must point to a commit." oid: GitObjectID! @@ -3116,7 +3116,7 @@ interface EnterpriseAuditEntryData { "Enterprise billing information visible to enterprise billing managers and owners." type EnterpriseBillingInfo { - "The number of licenseable users\/emails across the enterprise." + "The number of licenseable users/emails across the enterprise." allLicensableUsersCount: Int! "The number of data packs used by all organizations owned by the enterprise." assetPacks: Int! @@ -3156,7 +3156,7 @@ enum EnterpriseDefaultRepositoryPermissionSettingValue { NONE } -"The possible values for an enabled\/disabled enterprise setting." +"The possible values for an enabled/disabled enterprise setting." enum EnterpriseEnabledDisabledSettingValue { "The setting is enabled for organizations in the enterprise." ENABLED @@ -3166,7 +3166,7 @@ enum EnterpriseEnabledDisabledSettingValue { NO_POLICY } -"The possible values for an enabled\/no policy enterprise setting." +"The possible values for an enabled/no policy enterprise setting." enum EnterpriseEnabledSettingValue { "The setting is enabled for organizations in the enterprise." ENABLED @@ -4172,7 +4172,7 @@ scalar GitObjectID "Git SSH string" scalar GitSSHRemote -"Information about a signature (GPG or S\/MIME) on a Commit or Tag." +"Information about a signature (GPG or S/MIME) on a Commit or Tag." interface GitSignature { "Email used to sign this object." email: String! @@ -4720,7 +4720,7 @@ type IssueTimelineItemsConnection { filteredCount: Int! "A list of nodes." nodes: [IssueTimelineItems] - "Identifies the count of items after applying `before`\/`after` filters and `first`\/`last`\/`skip` slicing." + "Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing." pageCount: Int! "Information to aid in pagination." pageInfo: PageInfo! @@ -4962,7 +4962,7 @@ type License implements Node { key: String! "The limitations set by the license" limitations: [LicenseRule]! - "The license full name specified by " + "The license full name specified by " name: String! "Customary short name if applicable (e.g, GPLv3)" nickname: String @@ -4970,9 +4970,9 @@ type License implements Node { permissions: [LicenseRule]! "Whether the license is a pseudo-license placeholder (e.g., other, no-license)" pseudoLicense: Boolean! - "Short identifier specified by " + "Short identifier specified by " spdxId: String - "URL to the license on " + "URL to the license on " url: URI } @@ -7372,7 +7372,7 @@ type Organization implements Node & Actor & PackageOwner & ProjectOwner & Reposi domains("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int "Filter by if the domain is verified." isVerified: Boolean "Ordering options for verifiable domains returned." orderBy: VerifiableDomainOrder = { field: DOMAIN, direction: ASC }): VerifiableDomainConnection "The organization's public email." email: String - "True if this user\/organization has a GitHub Sponsors listing." + "True if this user/organization has a GitHub Sponsors listing." hasSponsorsListing: Boolean! id: ID! "The interaction ability settings for this organization." @@ -7381,9 +7381,9 @@ type Organization implements Node & Actor & PackageOwner & ProjectOwner & Reposi ipAllowListEnabledSetting: IpAllowListEnabledSettingValue! "The IP addresses that are allowed to access resources owned by the organization." ipAllowListEntries("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int "Ordering options for IP allow list entries returned." orderBy: IpAllowListEntryOrder = { field: ALLOW_LIST_VALUE, direction: ASC }): IpAllowListEntryConnection! - "Check if the given account is sponsoring this user\/organization." + "Check if the given account is sponsoring this user/organization." isSponsoredBy("The target account's login." accountLogin: String!): Boolean! - "True if the viewer is sponsored by this user\/organization." + "True if the viewer is sponsored by this user/organization." isSponsoringViewer: Boolean! "Whether the organization has verified its profile email and website, always false on Enterprise." isVerified: Boolean! @@ -7467,11 +7467,11 @@ type Organization implements Node & Actor & PackageOwner & ProjectOwner & Reposi viewerCanCreateRepositories: Boolean! "Viewer can create teams on this organization." viewerCanCreateTeams: Boolean! - "Whether or not the viewer is able to sponsor this user\/organization." + "Whether or not the viewer is able to sponsor this user/organization." viewerCanSponsor: Boolean! "Viewer is an active member of this organization." viewerIsAMember: Boolean! - "True if the viewer is sponsoring this user\/organization." + "True if the viewer is sponsoring this user/organization." viewerIsSponsoring: Boolean! "The organization's public profile URL." websiteUrl: URI @@ -9086,7 +9086,7 @@ type PullRequestTimelineItemsConnection { filteredCount: Int! "A list of nodes." nodes: [PullRequestTimelineItems] - "Identifies the count of items after applying `before`\/`after` filters and `first`\/`last`\/`skip` slicing." + "Identifies the count of items after applying `before`/`after` filters and `first`/`last`/`skip` slicing." pageCount: Int! "Information to aid in pagination." pageInfo: PageInfo! @@ -9307,7 +9307,7 @@ type Query { organization("The organization's login." login: String!): Organization "The client's rate limit information." rateLimit("If true, calculate the cost for the query without evaluating it" dryRun: Boolean = false): RateLimit - "Hack to workaround https:\/\/github.com\/facebook\/relay\/issues\/112 re-exposing the root query object" + "Hack to workaround https://github.com/facebook/relay/issues/112 re-exposing the root query object" relay: Query! "Lookup a given repository by the owner and repository name." repository("The login field of a user or organization" owner: String! "The name of the repository" name: String!): Repository @@ -9494,7 +9494,7 @@ type Ref implements Node { id: ID! "The ref name." name: String! - "The ref's prefix, such as `refs\/heads\/` or `refs\/tags\/`." + "The ref's prefix, such as `refs/heads/` or `refs/tags/`." prefix: String! "Branch protection rules that are viewable by non-admins" refUpdateRule: RefUpdateRule @@ -9534,7 +9534,7 @@ input RefOrder { "Properties by which ref connections can be ordered." enum RefOrderField { - "Order refs by underlying commit date if the ref prefix is refs\/tags\/" + "Order refs by underlying commit date if the ref prefix is refs/tags/" TAG_COMMIT_DATE "Order refs by their alphanumeric name" ALPHABETICAL @@ -11119,9 +11119,9 @@ type Repository implements Node & ProjectOwner & PackageOwner & Subscribable & S "Whether or not rebase-merging is enabled on this repository." rebaseMergeAllowed: Boolean! "Fetch a given ref from the repository" - ref("The ref to retrieve. Fully qualified matches are checked in order (`refs\/heads\/master`) before falling back onto checks for short name matches (`master`)." qualifiedName: String!): Ref + ref("The ref to retrieve. Fully qualified matches are checked in order (`refs/heads/master`) before falling back onto checks for short name matches (`master`)." qualifiedName: String!): Ref "Fetch a list of refs from the repository" - refs("Filters refs with query on name" query: String "Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int "A ref name prefix like `refs\/heads\/`, `refs\/tags\/`, etc." refPrefix: String! "DEPRECATED: use orderBy. The ordering direction." direction: OrderDirection "Ordering options for refs returned from the connection." orderBy: RefOrder): RefConnection + refs("Filters refs with query on name" query: String "Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int "A ref name prefix like `refs/heads/`, `refs/tags/`, etc." refPrefix: String! "DEPRECATED: use orderBy. The ordering direction." direction: OrderDirection "Ordering options for refs returned from the connection." orderBy: RefOrder): RefConnection "Lookup a single release given various criteria." release("The name of the Tag the Release was created from" tagName: String!): Release "List of releases which are dependent on this repository." @@ -12295,7 +12295,7 @@ type SetUserInteractionLimitPayload { user: User } -"Represents an S\/MIME signature on a Commit or Tag." +"Represents an S/MIME signature on a Commit or Tag." type SmimeSignature implements GitSignature { "Email used to sign this object." email: String! @@ -12318,11 +12318,11 @@ union Sponsor = Organization | User "Entities that can be sponsored through GitHub Sponsors" interface Sponsorable { - "True if this user\/organization has a GitHub Sponsors listing." + "True if this user/organization has a GitHub Sponsors listing." hasSponsorsListing: Boolean! - "Check if the given account is sponsoring this user\/organization." + "Check if the given account is sponsoring this user/organization." isSponsoredBy("The target account's login." accountLogin: String!): Boolean! - "True if the viewer is sponsored by this user\/organization." + "True if the viewer is sponsored by this user/organization." isSponsoringViewer: Boolean! "The GitHub Sponsors listing for this user or organization." sponsorsListing: SponsorsListing @@ -12332,9 +12332,9 @@ interface Sponsorable { sponsorshipsAsMaintainer("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int "Whether or not to include private sponsorships in the result set" includePrivate: Boolean = false "Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer." orderBy: SponsorshipOrder): SponsorshipConnection! "This object's sponsorships as the sponsor." sponsorshipsAsSponsor("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int "Ordering options for sponsorships returned from this connection. If left blank, the sponsorships will be ordered based on relevancy to the viewer." orderBy: SponsorshipOrder): SponsorshipConnection! - "Whether or not the viewer is able to sponsor this user\/organization." + "Whether or not the viewer is able to sponsor this user/organization." viewerCanSponsor: Boolean! - "True if the viewer is sponsoring this user\/organization." + "True if the viewer is sponsoring this user/organization." viewerIsSponsoring: Boolean! } @@ -13823,7 +13823,7 @@ type UnmarkFileAsViewedPayload { input UnmarkIssueAsDuplicateInput { "ID of the issue or pull request currently marked as a duplicate." duplicateId: ID! - "ID of the issue or pull request currently considered canonical\/authoritative\/original." + "ID of the issue or pull request currently considered canonical/authoritative/original." canonicalId: ID! "A unique identifier for the client performing the mutation." clientMutationId: String @@ -14106,7 +14106,7 @@ type UpdateEnterpriseMembersCanChangeRepositoryVisibilitySettingPayload { input UpdateEnterpriseMembersCanCreateRepositoriesSettingInput { "The ID of the enterprise on which to set the members can create repositories setting." enterpriseId: ID! - "Value for the members can create repositories setting on the enterprise. This or the granular public\/private\/internal allowed fields (but not both) must be provided." + "Value for the members can create repositories setting on the enterprise. This or the granular public/private/internal allowed fields (but not both) must be provided." settingValue: EnterpriseMembersCanCreateRepositoriesSettingValue "When false, allow member organizations to set their own repository creation member privileges." membersCanCreateRepositoriesPolicyEnabled: Boolean @@ -14762,7 +14762,7 @@ type User implements Node & Actor & PackageOwner & ProjectOwner & RepositoryOwne gistComments("Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): GistCommentConnection! "A list of the Gists the user has created." gists("Filters Gists according to privacy." privacy: GistPrivacy "Ordering options for gists returned from the connection" orderBy: GistOrder "Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): GistConnection! - "True if this user\/organization has a GitHub Sponsors listing." + "True if this user/organization has a GitHub Sponsors listing." hasSponsorsListing: Boolean! "The hovercard information for this user in a given context" hovercard("The ID of the subject to get the hovercard in the context of" primarySubjectId: ID): Hovercard! @@ -14781,9 +14781,9 @@ type User implements Node & Actor & PackageOwner & ProjectOwner & RepositoryOwne isHireable: Boolean! "Whether or not this user is a site administrator." isSiteAdmin: Boolean! - "Check if the given account is sponsoring this user\/organization." + "Check if the given account is sponsoring this user/organization." isSponsoredBy("The target account's login." accountLogin: String!): Boolean! - "True if the viewer is sponsored by this user\/organization." + "True if the viewer is sponsored by this user/organization." isSponsoringViewer: Boolean! "Whether or not this user is the viewing user." isViewer: Boolean! @@ -14861,15 +14861,15 @@ type User implements Node & Actor & PackageOwner & ProjectOwner & RepositoryOwne viewerCanCreateProjects: Boolean! "Whether or not the viewer is able to follow the user." viewerCanFollow: Boolean! - "Whether or not the viewer is able to sponsor this user\/organization." + "Whether or not the viewer is able to sponsor this user/organization." viewerCanSponsor: Boolean! "Whether or not this user is followed by the viewer." viewerIsFollowing: Boolean! - "True if the viewer is sponsoring this user\/organization." + "True if the viewer is sponsoring this user/organization." viewerIsSponsoring: Boolean! "A list of repositories the given user is watching." watching("If non-null, filters repositories according to privacy" privacy: RepositoryPrivacy "Ordering options for repositories returned from the connection" orderBy: RepositoryOrder "Affiliation options for repositories returned from the connection. If none specified, the results will include repositories for which the current viewer is an owner or collaborator, or member." affiliations: [RepositoryAffiliation] "Array of owner's affiliation options for repositories returned from the connection. For example, OWNER will include only repositories that the organization or user being viewed owns." ownerAffiliations: [RepositoryAffiliation] = [ OWNER, COLLABORATOR ] "If non-null, filters repositories according to whether they have been locked" isLocked: Boolean "Returns the elements in the list that come after the specified cursor." after: String "Returns the elements in the list that come before the specified cursor." before: String "Returns the first _n_ elements from the list." first: Int "Returns the last _n_ elements from the list." last: Int): RepositoryConnection! - "A URL pointing to the user's public website\/blog." + "A URL pointing to the user's public website/blog." websiteUrl: URI } diff --git a/website/src/blog/2021-03-31-chillicream-platform-11-1/2021-03-31-chillicream-platform-11-1.md b/website/src/blog/2021-03-31-chillicream-platform-11-1/2021-03-31-chillicream-platform-11-1.md index 51de17ea65c..ee752887442 100644 --- a/website/src/blog/2021-03-31-chillicream-platform-11-1/2021-03-31-chillicream-platform-11-1.md +++ b/website/src/blog/2021-03-31-chillicream-platform-11-1/2021-03-31-chillicream-platform-11-1.md @@ -271,7 +271,7 @@ The new collection of scalars are published in the package [HotChocolate.Types.S | Hsla | The `Hsla` scalar type represents a valid a CSS HSLA color as defined here . | | IPv4 | The `IPv4` scalar type represents a valid IPv4 address as defined here . | | IPv6 | The `IPv6` scalar type represents a valid IPv6 address as defined here [RFC8064](https://tools.ietf.org/html/rfc8064). | -| Isbn | The `ISBN` scalar type is an ISBN-10 or ISBN-13 number: https:\/\/en.wikipedia.org\/wiki\/International_Standard_Book_Number. | +| Isbn | The `ISBN` scalar type is an ISBN-10 or ISBN-13 number: . | | LocalDate | The `LocalDate` scalar type represents an ISO date string, represented as UTF-8 character sequences yyyy-mm-dd. The scalar follows the specification defined in RFC3339. | | LocalTime | The `LocalTime` scalar type is a local time string (i.e., with no associated timezone) in 24-hr `HH:mm:ss]`. | | MacAddress | The `MacAddress` scalar type represents an IEEE 802 48-bit Mac address, represented as UTF-8 character sequences. The scalar follows the specification defined in [RFC7042](https://tools.ietf.org/html/rfc7042#page-19). |