diff --git a/src/HotChocolate/Core/src/Types.Analyzers/FileBuilders/TypeFileBuilderBase.cs b/src/HotChocolate/Core/src/Types.Analyzers/FileBuilders/TypeFileBuilderBase.cs index a575e85e16b..a382944eb49 100644 --- a/src/HotChocolate/Core/src/Types.Analyzers/FileBuilders/TypeFileBuilderBase.cs +++ b/src/HotChocolate/Core/src/Types.Analyzers/FileBuilders/TypeFileBuilderBase.cs @@ -95,7 +95,7 @@ protected void WriteInitializationBase( { Writer.WriteIndentedLine("extension.Context,"); Writer.WriteIndentedLine("descriptor,"); - Writer.WriteIndentedLine("null,"); + Writer.WriteIndentedLine("typeof(global::{0}),", schemaFullTypeName); var first = true; foreach (var attribute in attributes) diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/IntegrationTests.cs b/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/IntegrationTests.cs index e4e329a69d6..029ae07344d 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/IntegrationTests.cs +++ b/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/IntegrationTests.cs @@ -75,6 +75,23 @@ public async Task Subscription_With_Public_Subscribe_Source_Is_Not_Exposed_As_Fi subscription.Fields.Where(f => !f.IsIntrospectionField).Select(f => f.Name).ToArray()); } + [Fact] + public async Task ObjectTypeDescriptorAttribute_Should_Receive_NonNull_Type_When_Applied_To_StaticPartial_TypeExtension() + { + // arrange + var schema = await new ServiceCollection() + .AddGraphQLServer() + .AddIntegrationTestTypes() + .AddPagingArguments() + .BuildSchemaAsync(); + + // act + var renamedType = schema.Types.GetType("renamed_DescriptorAttributeProbe"); + + // assert + Assert.NotNull(renamedType); + } + [Fact] public async Task Maps_NullOrdering_From_PagingOptions_To_PagingArguments() { diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/Types.cs b/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/Types.cs index 159a368dff3..f5fd6a670cd 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/Types.cs +++ b/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/Types.cs @@ -222,3 +222,33 @@ protected override void OnConfigure( }); } } + +public class DescriptorAttributeProbe +{ + public string Name { get; set; } = "default"; +} + +[ObjectType] +[PrefixTypeName("renamed")] +public static partial class DescriptorAttributeProbeType; + +public sealed class PrefixTypeNameAttribute(string prefix) : ObjectTypeDescriptorAttribute +{ + public string Prefix { get; } = prefix; + + protected override void OnConfigure( + IDescriptorContext context, + IObjectTypeDescriptor descriptor, + Type? type) + { + if (type is null) + { + return; + } + + var capturedPrefix = Prefix; + descriptor + .Extend() + .OnBeforeCreate((_, cfg) => cfg.Name = $"{capturedPrefix}_{cfg.Name}"); + } +} diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/__snapshots__/IntegrationTests.Schema_Snapshot.snap b/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/__snapshots__/IntegrationTests.Schema_Snapshot.snap index 7e110ead6a0..66a3170aba0 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/__snapshots__/IntegrationTests.Schema_Snapshot.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/__snapshots__/IntegrationTests.Schema_Snapshot.snap @@ -207,6 +207,10 @@ type ProductsEdge { node: Product! } +type renamed_DescriptorAttributeProbe { + name: String! +} + type Shape { key: String! name: String! diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/__snapshots__/IntegrationTests.Schema_Snapshot_Without_ConnectionName_Inference.snap b/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/__snapshots__/IntegrationTests.Schema_Snapshot_Without_ConnectionName_Inference.snap index 0deabeb0c22..e0b9766f9e7 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/__snapshots__/IntegrationTests.Schema_Snapshot_Without_ConnectionName_Inference.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/__snapshots__/IntegrationTests.Schema_Snapshot_Without_ConnectionName_Inference.snap @@ -164,6 +164,10 @@ type ProductEdge { node: Product! } +type renamed_DescriptorAttributeProbe { + name: String! +} + type Shape { key: String! name: String! diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/CollectionInferenceTests.Infer_Dictionary_As_List_Of_KeyValuePair.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/CollectionInferenceTests.Infer_Dictionary_As_List_Of_KeyValuePair.md index 50a7199b6bd..7aae569b338 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/CollectionInferenceTests.Infer_Dictionary_As_List_Of_KeyValuePair.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/CollectionInferenceTests.Infer_Dictionary_As_List_Of_KeyValuePair.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_ArrayReturn_RaisesError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_ArrayReturn_RaisesError.md index 4dd861b9b22..f9798404c34 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_ArrayReturn_RaisesError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_ArrayReturn_RaisesError.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_IEnumerableReturn_RaisesError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_IEnumerableReturn_RaisesError.md index ebc5c58b336..c568141452f 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_IEnumerableReturn_RaisesError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_IEnumerableReturn_RaisesError.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_ListReturn_RaisesError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_ListReturn_RaisesError.md index 70f7ae57e26..fddbd01b7dc 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_ListReturn_RaisesError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_ListReturn_RaisesError.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_NoLookupAttribute_NoError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_NoLookupAttribute_NoError.md index faa8849df29..e2260a0164c 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_NoLookupAttribute_NoError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_NoLookupAttribute_NoError.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_SingleReturn_NoError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_SingleReturn_NoError.md index 1ab739d96dd..4141ea37b8d 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_SingleReturn_NoError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_SingleReturn_NoError.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_TaskListReturn_RaisesError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_TaskListReturn_RaisesError.md index ec16006d038..d35d541258f 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_TaskListReturn_RaisesError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Method_TaskListReturn_RaisesError.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Property_ListReturn_RaisesError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Property_ListReturn_RaisesError.md index 74ddf00d7e4..699d9daf456 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Property_ListReturn_RaisesError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsListTypeAnalyzerTests.Property_ListReturn_RaisesError.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_FullyQualifiedTaskNonNullableReturn_RaisesWarning.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_FullyQualifiedTaskNonNullableReturn_RaisesWarning.md index 3971315822f..30d94be417d 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_FullyQualifiedTaskNonNullableReturn_RaisesWarning.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_FullyQualifiedTaskNonNullableReturn_RaisesWarning.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_FullyQualifiedTaskNullableReturn_NoWarning.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_FullyQualifiedTaskNullableReturn_NoWarning.md index c6c7c7f1a69..9367a968d38 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_FullyQualifiedTaskNullableReturn_NoWarning.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_FullyQualifiedTaskNullableReturn_NoWarning.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NoLookupAttribute_NoWarning.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NoLookupAttribute_NoWarning.md index d4d31a81953..623aed38097 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NoLookupAttribute_NoWarning.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NoLookupAttribute_NoWarning.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NonNullableReturn_RaisesWarning.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NonNullableReturn_RaisesWarning.md index caf080f9836..0e61f2340a7 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NonNullableReturn_RaisesWarning.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NonNullableReturn_RaisesWarning.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NullableReturn_NoWarning.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NullableReturn_NoWarning.md index cdd7b18b5a2..5b57721fe43 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NullableReturn_NoWarning.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_NullableReturn_NoWarning.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_TaskNonNullableReturn_RaisesWarning.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_TaskNonNullableReturn_RaisesWarning.md index 89d177635f5..3abc1d95195 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_TaskNonNullableReturn_RaisesWarning.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_TaskNonNullableReturn_RaisesWarning.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_TaskNullableReturn_NoWarning.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_TaskNullableReturn_NoWarning.md index 93398a70b29..f1e9c806721 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_TaskNullableReturn_NoWarning.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_TaskNullableReturn_NoWarning.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_ValueTaskNonNullableReturn_RaisesWarning.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_ValueTaskNonNullableReturn_RaisesWarning.md index 1867af0afee..2ac13e16a38 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_ValueTaskNonNullableReturn_RaisesWarning.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Method_ValueTaskNonNullableReturn_RaisesWarning.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Property_NonNullableReturn_RaisesWarning.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Property_NonNullableReturn_RaisesWarning.md index 739ce151daa..4fdbdeeac5c 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Property_NonNullableReturn_RaisesWarning.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Property_NonNullableReturn_RaisesWarning.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Property_NullableReturn_NoWarning.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Property_NullableReturn_NoWarning.md index 3140ef34e32..a823eccd996 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Property_NullableReturn_NoWarning.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/LookupReturnsNonNullableTypeAnalyzerTests.Property_NullableReturn_NoWarning.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.GraphQLDescription_Attribute_Still_Works_When_DisableXmlDocumentation_Is_Set.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.GraphQLDescription_Attribute_Still_Works_When_DisableXmlDocumentation_Is_Set.snap index 6e15b50bdd7..0001aca5ef1 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.GraphQLDescription_Attribute_Still_Works_When_DisableXmlDocumentation_Is_Set.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.GraphQLDescription_Attribute_Still_Works_When_DisableXmlDocumentation_Is_Set.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.XmlDocumentation_Is_Emitted_When_DisableXmlDocumentation_Is_Not_Set.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.XmlDocumentation_Is_Emitted_When_DisableXmlDocumentation_Is_Not_Set.snap index 90bfdfd336c..c2f5bfcac72 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.XmlDocumentation_Is_Emitted_When_DisableXmlDocumentation_Is_Not_Set.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.XmlDocumentation_Is_Emitted_When_DisableXmlDocumentation_Is_Not_Set.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.XmlDocumentation_Is_Suppressed_When_DisableXmlDocumentation_Is_Set.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.XmlDocumentation_Is_Suppressed_When_DisableXmlDocumentation_Is_Set.snap index c6139ce4a49..c311940b26c 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.XmlDocumentation_Is_Suppressed_When_DisableXmlDocumentation_Is_Set.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeDisableXmlDocumentationTests.XmlDocumentation_Is_Suppressed_When_DisableXmlDocumentation_Is_Set.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.Argument_With_DefaultValue.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.Argument_With_DefaultValue.md index fa70ed97bda..413ed0cc696 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.Argument_With_DefaultValue.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.Argument_With_DefaultValue.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.NullableValueTypeArgument_With_DefaultValue.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.NullableValueTypeArgument_With_DefaultValue.md index 7fe71b0fe7d..0535d4733f2 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.NullableValueTypeArgument_With_DefaultValue.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.NullableValueTypeArgument_With_DefaultValue.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_ComplexScenario.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_ComplexScenario.md index 3d43724213b..8c5a4273f83 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_ComplexScenario.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_ComplexScenario.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_MultilineDescription.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_MultilineDescription.md index d74e1b92ea4..f160ed960ae 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_MultilineDescription.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_MultilineDescription.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_ParameterDescription.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_ParameterDescription.md index ebb312b70a1..3ccdb1e16f8 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_ParameterDescription.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_ParameterDescription.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_SpecialCharacters.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_SpecialCharacters.md index 6a3a95c06ba..6ee18681e19 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_SpecialCharacters.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeTests.XmlDocumentation_With_SpecialCharacters.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_class_has_description_then_it_is_converted.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_class_has_description_then_it_is_converted.snap index 39650dd050b..b44c1520fc1 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_class_has_description_then_it_is_converted.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_class_has_description_then_it_is_converted.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_class_implements_interface_and_method_has_description_then_method_parameter_description_is_used.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_class_implements_interface_and_method_has_description_then_method_parameter_description_is_used.snap index 63d1cd34046..54d3e6288c1 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_class_implements_interface_and_method_has_description_then_method_parameter_description_is_used.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_class_implements_interface_and_method_has_description_then_method_parameter_description_is_used.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_generic_tags_then_it_is_converted.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_generic_tags_then_it_is_converted.snap index 5597d696ea3..2fbdc7a60ef 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_generic_tags_then_it_is_converted.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_generic_tags_then_it_is_converted.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_paramref_tag_then_it_is_converted.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_paramref_tag_then_it_is_converted.snap index 317d5bf7a8b..7aedd04b2ea 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_paramref_tag_then_it_is_converted.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_paramref_tag_then_it_is_converted.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_see_tag_then_it_is_converted.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_see_tag_then_it_is_converted.snap index 6826f9d24d8..6360dbf7db9 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_see_tag_then_it_is_converted.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_description_has_see_tag_then_it_is_converted.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_exceptions_then_exceptions_with_no_code_will_be_ignored.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_exceptions_then_exceptions_with_no_code_will_be_ignored.snap index d87d01e0abb..33dad06b34e 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_exceptions_then_exceptions_with_no_code_will_be_ignored.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_exceptions_then_exceptions_with_no_code_will_be_ignored.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_exceptions_then_it_is_converted.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_exceptions_then_it_is_converted.snap index d87d01e0abb..33dad06b34e 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_exceptions_then_it_is_converted.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_exceptions_then_it_is_converted.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_inheritdoc_then_it_is_resolved.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_inheritdoc_then_it_is_resolved.snap index 26a4296c1ed..888b561ba28 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_inheritdoc_then_it_is_resolved.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_inheritdoc_then_it_is_resolved.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_only_exceptions_with_no_code_then_error_section_will_not_be_written.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_only_exceptions_with_no_code_then_error_section_will_not_be_written.snap index 5314ecba1e3..c91cbfe9903 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_only_exceptions_with_no_code_then_error_section_will_not_be_written.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_only_exceptions_with_no_code_then_error_section_will_not_be_written.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_returns_then_it_is_converted.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_returns_then_it_is_converted.snap index 5314ecba1e3..c91cbfe9903 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_returns_then_it_is_converted.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_method_has_returns_then_it_is_converted.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_parameter_has_inheritdoc_then_it_is_resolved.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_parameter_has_inheritdoc_then_it_is_resolved.snap index 10ab976122e..747027aca96 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_parameter_has_inheritdoc_then_it_is_resolved.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_parameter_has_inheritdoc_then_it_is_resolved.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_xml_doc_is_missing_then_description_is_empty.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_xml_doc_is_missing_then_description_is_empty.snap index c9162f9697c..dda1ec46b76 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_xml_doc_is_missing_then_description_is_empty.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_xml_doc_is_missing_then_description_is_empty.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_xml_doc_with_multiple_breaks_is_read_then_they_are_not_stripped_away.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_xml_doc_with_multiple_breaks_is_read_then_they_are_not_stripped_away.snap index 01b94f571ac..948dc022b61 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_xml_doc_with_multiple_breaks_is_read_then_they_are_not_stripped_away.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.When_xml_doc_with_multiple_breaks_is_read_then_they_are_not_stripped_away.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_Is_Overriden_By_DescriptionAttribute.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_Is_Overriden_By_DescriptionAttribute.snap index 1a3531468cd..68d1eebbffd 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_Is_Overriden_By_DescriptionAttribute.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_Is_Overriden_By_DescriptionAttribute.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_And_MultipleLayersOfInheritance.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_And_MultipleLayersOfInheritance.snap index 26a4296c1ed..888b561ba28 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_And_MultipleLayersOfInheritance.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_And_MultipleLayersOfInheritance.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Exception.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Exception.snap index b1fff3eea5a..3fdaa97a395 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Exception.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Exception.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Param.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Param.snap index 5ff785c5a31..6b7232b1718 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Param.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Param.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Returns.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Returns.snap index 24d22f25d4f..e70a878aedc 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Returns.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Returns.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Summary.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Summary.snap index aca883d3cd1..4c2dbbd00f6 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Summary.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Summary.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomException.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomException.snap index c8a6f6c8c42..51884166a2c 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomException.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomException.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomParam.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomParam.snap index 7594443978e..c6d8c4fe817 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomParam.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomParam.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomReturns.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomReturns.snap index 12f7e4e77c5..544d6287502 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomReturns.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomReturns.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomSummary.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomSummary.snap index 1a8caac3b61..63d6d540455 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomSummary.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomSummary.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_ThatContainsInheritdoc.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_ThatContainsInheritdoc.snap index 7f121039fb0..df35fd35b5d 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_ThatContainsInheritdoc.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_ThatContainsInheritdoc.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_With_Nested_InheritdocCref.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_With_Nested_InheritdocCref.snap index 6cd270b7bc6..de038875335 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_With_Nested_InheritdocCref.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_With_Nested_InheritdocCref.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_Ignores_ReturnsAndExceptions.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_Ignores_ReturnsAndExceptions.snap index 10c3dffbbaf..bea43528b56 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_Ignores_ReturnsAndExceptions.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_Ignores_ReturnsAndExceptions.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_IsInferred.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_IsInferred.snap index caa6446421d..f8c4ee55d57 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_IsInferred.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_IsInferred.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_Is_Overriden_By_DescriptionAttribute.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_Is_Overriden_By_DescriptionAttribute.snap index edb05fef480..134d75b2ec5 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_Is_Overriden_By_DescriptionAttribute.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_Is_Overriden_By_DescriptionAttribute.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_AndAdditional_ExplicitParamComment.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_AndAdditional_ExplicitParamComment.snap index f6e016ff62d..6b3158ba3b9 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_AndAdditional_ExplicitParamComment.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_AndAdditional_ExplicitParamComment.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_Is_Overriden_By_DescriptionAttribute.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_Is_Overriden_By_DescriptionAttribute.snap index edb05fef480..134d75b2ec5 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_Is_Overriden_By_DescriptionAttribute.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_Is_Overriden_By_DescriptionAttribute.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_Is_Overriden_By_ExplicitParamComment.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_Is_Overriden_By_ExplicitParamComment.snap index b970fa69166..3f89bd8282a 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_Is_Overriden_By_ExplicitParamComment.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_Is_Overriden_By_ExplicitParamComment.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_WithinParamComment.snap b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_WithinParamComment.snap index 0841d29cdd0..0738121f545 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_WithinParamComment.snap +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_WithinParamComment.snap @@ -63,7 +63,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_With_InheritdocCref_AllPossibleTargets.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_With_InheritdocCref_AllPossibleTargets.md index e293570a215..0fef5fa29b9 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_With_InheritdocCref_AllPossibleTargets.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ObjectTypeXmlDocInferenceTests.XmlDocumentation_With_InheritdocCref_AllPossibleTargets.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Class.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Class.md index 05bb6085292..040e780c1d9 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Class.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Class.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Class_Scoped.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Class_Scoped.md index c719150e7a9..f6195ebe019 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Class_Scoped.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Class_Scoped.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Field.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Field.md index ebd55cf1090..0e8419f7297 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Field.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Inaccessible_On_Field.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_NodeResolver_Is_Added_Without_InternalMember_Option.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_NodeResolver_Is_Added_Without_InternalMember_Option.md index bb22cf58acf..6521afa7501 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_NodeResolver_Is_Added_Without_InternalMember_Option.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_NodeResolver_Is_Added_Without_InternalMember_Option.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_Resolvers_Are_Ignored_By_Default.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_Resolvers_Are_Ignored_By_Default.md index f24f3923381..f28425f36a2 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_Resolvers_Are_Ignored_By_Default.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_Resolvers_Are_Ignored_By_Default.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_Resolvers_Can_Be_Included_With_ModuleOptions.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_Resolvers_Can_Be_Included_With_ModuleOptions.md index f6a4bf6fdd5..cfb9251bb93 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_Resolvers_Can_Be_Included_With_ModuleOptions.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Internal_Resolvers_Can_Be_Included_With_ModuleOptions.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Lookup_With_Generic_ID_Attribute.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Lookup_With_Generic_ID_Attribute.md index f408cb02526..497fd8f36f0 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Lookup_With_Generic_ID_Attribute.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Lookup_With_Generic_ID_Attribute.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Partial_Static_QueryType.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Partial_Static_QueryType.md index 2ab9562507d..8937f5d62fa 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Partial_Static_QueryType.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Partial_Static_QueryType.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_Empty.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_Empty.md index e3e7687173d..28cb70e3094 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_Empty.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_Empty.md @@ -64,7 +64,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_NodeResolver.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_NodeResolver.md index 6a2c1599069..f3a32a52012 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_NodeResolver.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_NodeResolver.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_Projection_Single_Entity.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_Projection_Single_Entity.md index 614bb291a21..92c48de38eb 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_Projection_Single_Entity.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Root_Projection_Single_Entity.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Class.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Class.md index 54feb4d4ba0..77d717ffb1f 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Class.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Class.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Class_Scoped.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Class_Scoped.md index 74b19b828e1..2511041814d 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Class_Scoped.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Class_Scoped.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Field.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Field.md index abf483f8a73..97ae04debef 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Field.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Shareable_On_Field.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Subscription_Ignored_Method_Does_Not_Suppress_Public_Resolver.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Subscription_Ignored_Method_Does_Not_Suppress_Public_Resolver.md index 5989668d92b..2814fedf7df 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Subscription_Ignored_Method_Does_Not_Suppress_Public_Resolver.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Subscription_Ignored_Method_Does_Not_Suppress_Public_Resolver.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Subscription), new global::HotChocolate.Types.SubscriptionTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Subscription_With_Subscribe_With_Excludes_Stream_Method.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Subscription_With_Subscribe_With_Excludes_Stream_Method.md index b26090c51b5..c0bdd5513e4 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Subscription_With_Subscribe_With_Excludes_Stream_Method.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/OperationTests.Subscription_With_Subscribe_With_Excludes_Stream_Method.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Subscription), new global::HotChocolate.Types.SubscriptionTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_ConnectionFlags.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_ConnectionFlags.md index 189b744a12b..e56f089b2db 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_ConnectionFlags.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_ConnectionFlags.md @@ -333,7 +333,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_ConnectionT_MatchesSnapshot.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_ConnectionT_MatchesSnapshot.md index 4a75957736d..7384f0ba0e2 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_ConnectionT_MatchesSnapshot.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_ConnectionT_MatchesSnapshot.md @@ -31,7 +31,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.BookPage), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_MatchesSnapshot.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_MatchesSnapshot.md index ff50edbc28b..022581b51d5 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_MatchesSnapshot.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_MatchesSnapshot.md @@ -298,7 +298,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_No_Duplicates_MatchesSnapshot.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_No_Duplicates_MatchesSnapshot.md index 0fdf031c006..845429a62bb 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_No_Duplicates_MatchesSnapshot.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_No_Duplicates_MatchesSnapshot.md @@ -427,7 +427,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_UseConnection_ConnectionName_MatchesSnapshot.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_UseConnection_ConnectionName_MatchesSnapshot.md index da094afa7e9..80be9da28ea 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_UseConnection_ConnectionName_MatchesSnapshot.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_UseConnection_ConnectionName_MatchesSnapshot.md @@ -31,7 +31,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_UseConnection_IncludeTotalCount_MatchesSnapshot.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_UseConnection_IncludeTotalCount_MatchesSnapshot.md index 60e86f0ebec..49e352730f1 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_UseConnection_IncludeTotalCount_MatchesSnapshot.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_CustomConnection_UseConnection_IncludeTotalCount_MatchesSnapshot.md @@ -298,7 +298,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_GenericCustomConnection_MatchesSnapshot.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_GenericCustomConnection_MatchesSnapshot.md index 05c7cd6056d..4bc6a763c35 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_GenericCustomConnection_MatchesSnapshot.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_GenericCustomConnection_MatchesSnapshot.md @@ -434,7 +434,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_GenericCustomConnection_WithConnectionName_MatchesSnapshot.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_GenericCustomConnection_WithConnectionName_MatchesSnapshot.md index f9adf8bdf1f..088ba2cc0ff 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_GenericCustomConnection_WithConnectionName_MatchesSnapshot.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_GenericCustomConnection_WithConnectionName_MatchesSnapshot.md @@ -434,7 +434,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Inherit_PageEdge.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Inherit_PageEdge.md index ad125ac4bf4..bc8c9917d19 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Inherit_PageEdge.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Inherit_PageEdge.md @@ -333,7 +333,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Reuse_PageEdge.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Reuse_PageEdge.md index 19b67daa31c..9b5957d7003 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Reuse_PageEdge.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Reuse_PageEdge.md @@ -304,7 +304,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Reuse_PageEdge_Generic.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Reuse_PageEdge_Generic.md index 7898f582fe6..6f97656b70f 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Reuse_PageEdge_Generic.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Reuse_PageEdge_Generic.md @@ -310,7 +310,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_PageConnection.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_PageConnection.md index 4a44699b889..e32b51a4c21 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_PageConnection.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.GenerateSource_Inherit_From_PageConnection.md @@ -343,7 +343,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Class.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Class.md index 5c87391217d..3ed520106f6 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Class.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Class.md @@ -300,7 +300,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Class_Scoped.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Class_Scoped.md index ff98034fb83..d40063002bc 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Class_Scoped.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Class_Scoped.md @@ -302,7 +302,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Field.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Field.md index 1146a8aefc4..23bcc56394f 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Field.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Connection_Field.md @@ -299,7 +299,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Class.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Class.md index d2f75da5a7a..79fb92dcba4 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Class.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Class.md @@ -300,7 +300,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Class_Scoped.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Class_Scoped.md index 80e8417fa62..bf074d64d36 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Class_Scoped.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Class_Scoped.md @@ -300,7 +300,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Field.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Field.md index 454f3c2373b..fd168405614 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Field.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_Edge_Field.md @@ -299,7 +299,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_PageConnection.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_PageConnection.md index 1ea01e9879b..206cfc28f69 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_PageConnection.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_PageConnection.md @@ -347,7 +347,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_PageConnection_Scoped.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_PageConnection_Scoped.md index 218d7be85a1..9fc84cc72ff 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_PageConnection_Scoped.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Inaccessible_On_PageConnection_Scoped.md @@ -350,7 +350,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Class.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Class.md index bf6c4ddd54d..e41e0ff83eb 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Class.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Class.md @@ -295,7 +295,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Class_Scoped.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Class_Scoped.md index ea7ecb862bf..c30bef48bb9 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Class_Scoped.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Class_Scoped.md @@ -302,7 +302,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Field.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Field.md index 1f77ddc7f53..b107c5799fa 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Field.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Connection_Field.md @@ -299,7 +299,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Class.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Class.md index 161461db6c5..af3ce0a4928 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Class.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Class.md @@ -295,7 +295,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Class_Scoped.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Class_Scoped.md index 818e301cd42..5d5debca0cf 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Class_Scoped.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Class_Scoped.md @@ -300,7 +300,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Field.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Field.md index 37b0e6eb8be..2d9caa5b4b1 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Field.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_Edge_Field.md @@ -299,7 +299,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_PageConnection.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_PageConnection.md index 5723073829f..617661dcf49 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_PageConnection.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_PageConnection.md @@ -337,7 +337,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_PageConnection_Scoped.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_PageConnection_Scoped.md index ac2161ef126..9eeba68fe1e 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_PageConnection_Scoped.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/PagingTests.Shareable_On_PageConnection_Scoped.md @@ -350,7 +350,7 @@ namespace TestNamespace.Types.Root HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Types.Root.AuthorQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithMutationType_RaisesError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithMutationType_RaisesError.md index ed91e41bc37..0ca561a7672 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithMutationType_RaisesError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithMutationType_RaisesError.md @@ -69,7 +69,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Mutation), new global::HotChocolate.Types.MutationTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithQueryType_RaisesError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithQueryType_RaisesError.md index c885c8aaf52..344107d26f2 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithQueryType_RaisesError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithQueryType_RaisesError.md @@ -356,7 +356,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithSubscriptionType_RaisesError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithSubscriptionType_RaisesError.md index a430b34c9d1..39edcf03225 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithSubscriptionType_RaisesError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/QueryContextConnectionAnalyzerTests.TypeMismatch_WithSubscriptionType_RaisesError.md @@ -356,7 +356,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Subscription), new global::HotChocolate.Types.SubscriptionTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Ensure_Entity_Becomes_Node.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Ensure_Entity_Becomes_Node.md index a967b8e08f5..233627970af 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Ensure_Entity_Becomes_Node.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Ensure_Entity_Becomes_Node.md @@ -71,7 +71,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Ensure_Entity_Becomes_Node_With_Query_Node_Resolver.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Ensure_Entity_Becomes_Node_With_Query_Node_Resolver.md index 1bded254b86..3da25041129 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Ensure_Entity_Becomes_Node_With_Query_Node_Resolver.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Ensure_Entity_Becomes_Node_With_Query_Node_Resolver.md @@ -71,7 +71,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Generated_DataLoader_From_Different_Namespace_MatchesSnapshot.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Generated_DataLoader_From_Different_Namespace_MatchesSnapshot.md index 4b552c84356..366a790b089 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Generated_DataLoader_From_Different_Namespace_MatchesSnapshot.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Generated_DataLoader_From_Different_Namespace_MatchesSnapshot.md @@ -138,7 +138,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Generated_DataLoader_Parameter_MatchesSnapshot.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Generated_DataLoader_Parameter_MatchesSnapshot.md index bf06a30a5b8..f9350cb03de 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Generated_DataLoader_Parameter_MatchesSnapshot.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Generated_DataLoader_Parameter_MatchesSnapshot.md @@ -138,7 +138,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Multiple_DataLoaders_Same_Name_Different_Namespaces_MatchesSnapshot.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Multiple_DataLoaders_Same_Name_Different_Namespaces_MatchesSnapshot.md index 883aacbc283..cb3195801b5 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Multiple_DataLoaders_Same_Name_Different_Namespaces_MatchesSnapshot.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/ResolverTests.Resolver_With_Multiple_DataLoaders_Same_Name_Different_Namespaces_MatchesSnapshot.md @@ -194,7 +194,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Lookup.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Lookup.md index 090be3d5a87..65b4b01a70e 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Lookup.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Lookup.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.RootType), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Shareable.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Shareable.md index 33cbda6f79c..74f8d40733c 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Shareable.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Shareable.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.RootType), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Shareable_On_Field.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Shareable_On_Field.md index b691ad34ccd..9283b2c8261 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Shareable_On_Field.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Shareable_On_Field.md @@ -68,7 +68,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.RootType), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.GenerateSource_Interface_Inheritance_Registers_Derived_Implementations.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.GenerateSource_Interface_Inheritance_Registers_Derived_Implementations.md index 43aed0e47d4..c65b5378e09 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.GenerateSource_Interface_Inheritance_Registers_Derived_Implementations.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/TypeModuleSyntaxGeneratorTests.GenerateSource_Interface_Inheritance_Registers_Derived_Implementations.md @@ -70,7 +70,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.Query), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.HotChocolate_AuthorizeAttribute_On_Class_NoError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.HotChocolate_AuthorizeAttribute_On_Class_NoError.md index 8b34e85c4c7..924a6e6ce6b 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.HotChocolate_AuthorizeAttribute_On_Class_NoError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.HotChocolate_AuthorizeAttribute_On_Class_NoError.md @@ -62,7 +62,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.ProductQueries), new global::HotChocolate.Authorization.AuthorizeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.Microsoft_AuthorizeAttribute_On_Resolver_Method_In_RootType_RaisesError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.Microsoft_AuthorizeAttribute_On_Resolver_Method_In_RootType_RaisesError.md index 057a68988fb..db82255076f 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.Microsoft_AuthorizeAttribute_On_Resolver_Method_In_RootType_RaisesError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.Microsoft_AuthorizeAttribute_On_Resolver_Method_In_RootType_RaisesError.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.ProductQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true; diff --git a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.Microsoft_AuthorizeAttribute_On_RootType_RaisesError.md b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.Microsoft_AuthorizeAttribute_On_RootType_RaisesError.md index 9ebe1dfe266..a2dd3411558 100644 --- a/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.Microsoft_AuthorizeAttribute_On_RootType_RaisesError.md +++ b/src/HotChocolate/Core/test/Types.Analyzers.Tests/__snapshots__/WrongAuthorizationAttributeAnalyzerTests.Microsoft_AuthorizeAttribute_On_RootType_RaisesError.md @@ -67,7 +67,7 @@ namespace TestNamespace HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration( extension.Context, descriptor, - null, + typeof(global::TestNamespace.ProductQueries), new global::HotChocolate.Types.QueryTypeAttribute()); configuration.ConfigurationsAreApplied = true;