Skip to content

[Analyzer] Pass type to descriptor attributes in generated code#9752

Merged
tobias-tengler merged 1 commit into
mainfrom
tte/fix-source-gen-attribute-provider
May 20, 2026
Merged

[Analyzer] Pass type to descriptor attributes in generated code#9752
tobias-tengler merged 1 commit into
mainfrom
tte/fix-source-gen-attribute-provider

Conversation

@tobias-tengler
Copy link
Copy Markdown
Member

No description provided.

@tobias-tengler tobias-tengler marked this pull request as ready for review May 20, 2026 13:56
Copilot AI review requested due to automatic review settings May 20, 2026 13:56
@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (6bae505) to head (5fda995).

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #9752   +/-   ##
============================
============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tobias-tengler tobias-tengler merged commit bfde6dc into main May 20, 2026
146 checks passed
@tobias-tengler tobias-tengler deleted the tte/fix-source-gen-attribute-provider branch May 20, 2026 13:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the HotChocolate type-module source generator so generated calls to HotChocolate.Internal.ConfigurationHelper.ApplyConfiguration(...) pass the declaring type (typeof(...)) as the ICustomAttributeProvider, ensuring descriptor attributes (e.g., ObjectTypeDescriptorAttribute) receive a non-null Type at runtime. It also adds an integration test that validates the behavior and updates snapshots to reflect the new generated output.

Changes:

  • Update TypeFileBuilderBase to pass typeof(global::<SchemaType>) instead of null when applying descriptor-attribute configurations for generated types.
  • Add an integration test and supporting test types verifying ObjectTypeDescriptorAttribute receives a non-null Type for static partial type extensions.
  • Update analyzer and integration test snapshots to match the new generated output.

Reviewed changes

Copilot reviewed 124 out of 124 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/HotChocolate/Core/src/Types.Analyzers/FileBuilders/TypeFileBuilderBase.cs Pass typeof(...) as the attribute provider when applying type-level descriptor attribute configurations in generated code.
src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/Types.cs Add a probe type + ObjectTypeDescriptorAttribute that renames the type to validate receiving a non-null Type.
src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/IntegrationTests.cs Add integration test asserting the renamed type exists in the built schema.
src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/snapshots/IntegrationTests.Schema_Snapshot.snap Include the renamed probe type in the schema snapshot.
src/HotChocolate/Core/test/Types.Analyzers.Integration.Tests/snapshots/IntegrationTests.Schema_Snapshot_Without_ConnectionName_Inference.snap Include the renamed probe type in the schema snapshot (variant).
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/WrongAuthorizationAttributeAnalyzerTests.Microsoft_AuthorizeAttribute_On_RootType_RaisesError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/WrongAuthorizationAttributeAnalyzerTests.Microsoft_AuthorizeAttribute_On_Resolver_Method_In_RootType_RaisesError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/WrongAuthorizationAttributeAnalyzerTests.HotChocolate_AuthorizeAttribute_On_Class_NoError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/TypeModuleSyntaxGeneratorTests.GenerateSource_Interface_Inheritance_Registers_Derived_Implementations.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Shareable.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Shareable_On_Field.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/TypeModuleSyntaxGeneratorTests.DetectSourceSchemaDefaults_From_Lookup.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ResolverTests.Resolver_With_Multiple_DataLoaders_Same_Name_Different_Namespaces_MatchesSnapshot.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ResolverTests.Resolver_With_Generated_DataLoader_Parameter_MatchesSnapshot.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ResolverTests.Resolver_With_Generated_DataLoader_From_Different_Namespace_MatchesSnapshot.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ResolverTests.Ensure_Entity_Becomes_Node.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ResolverTests.Ensure_Entity_Becomes_Node_With_Query_Node_Resolver.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/QueryContextConnectionAnalyzerTests.TypeMismatch_WithSubscriptionType_RaisesError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/QueryContextConnectionAnalyzerTests.TypeMismatch_WithQueryType_RaisesError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/QueryContextConnectionAnalyzerTests.TypeMismatch_WithMutationType_RaisesError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Shareable_On_PageConnection.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Shareable_On_PageConnection_Scoped.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Shareable_On_Edge_Field.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Shareable_On_Edge_Class.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Shareable_On_Edge_Class_Scoped.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Shareable_On_Connection_Field.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Shareable_On_Connection_Class.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Shareable_On_Connection_Class_Scoped.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Inaccessible_On_PageConnection.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Inaccessible_On_PageConnection_Scoped.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Inaccessible_On_Edge_Field.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Inaccessible_On_Edge_Class.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Inaccessible_On_Edge_Class_Scoped.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Inaccessible_On_Connection_Field.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Inaccessible_On_Connection_Class.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.Inaccessible_On_Connection_Class_Scoped.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_Inherit_From_PageConnection.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Reuse_PageEdge.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Reuse_PageEdge_Generic.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_Inherit_From_ConnectionBase_Inherit_PageEdge.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_GenericCustomConnection_WithConnectionName_MatchesSnapshot.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_GenericCustomConnection_MatchesSnapshot.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_CustomConnection_UseConnection_IncludeTotalCount_MatchesSnapshot.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_CustomConnection_UseConnection_ConnectionName_MatchesSnapshot.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_CustomConnection_No_Duplicates_MatchesSnapshot.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_CustomConnection_MatchesSnapshot.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_ConnectionT_MatchesSnapshot.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/PagingTests.GenerateSource_ConnectionFlags.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Subscription_With_Subscribe_With_Excludes_Stream_Method.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Subscription_Ignored_Method_Does_Not_Suppress_Public_Resolver.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Shareable_On_Field.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Shareable_On_Class.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Shareable_On_Class_Scoped.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Root_Projection_Single_Entity.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Root_NodeResolver.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Root_Empty.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Partial_Static_QueryType.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Lookup_With_Generic_ID_Attribute.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Internal_Resolvers_Can_Be_Included_With_ModuleOptions.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Internal_Resolvers_Are_Ignored_By_Default.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Internal_NodeResolver_Is_Added_Without_InternalMember_Option.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Inaccessible_On_Field.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Inaccessible_On_Class.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/OperationTests.Inaccessible_On_Class_Scoped.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_With_InheritdocCref_AllPossibleTargets.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_WithinParamComment.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_Is_Overriden_By_ExplicitParamComment.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_Is_Overriden_By_DescriptionAttribute.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_WithInheritdoc_AndAdditional_ExplicitParamComment.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_IsInferred.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_Is_Overriden_By_DescriptionAttribute.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForParameter_Ignores_ReturnsAndExceptions.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_ThatContainsInheritdoc.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomSummary.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomReturns.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomParam.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_OnRootLevel_CustomException.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Summary.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Returns.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Param.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_Inside_Exception.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_WithInheritdoc_And_MultipleLayersOfInheritance.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_With_Nested_InheritdocCref.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.XmlDocumentation_ForMethod_Is_Overriden_By_DescriptionAttribute.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_xml_doc_with_multiple_breaks_is_read_then_they_are_not_stripped_away.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_xml_doc_is_missing_then_description_is_empty.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_parameter_has_inheritdoc_then_it_is_resolved.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_method_has_returns_then_it_is_converted.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
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 Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_method_has_inheritdoc_then_it_is_resolved.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_method_has_exceptions_then_it_is_converted.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_method_has_exceptions_then_exceptions_with_no_code_will_be_ignored.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_description_has_see_tag_then_it_is_converted.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_description_has_paramref_tag_then_it_is_converted.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_description_has_generic_tags_then_it_is_converted.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_class_implements_interface_and_method_has_description_then_method_parameter_description_is_used.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeXmlDocInferenceTests.When_class_has_description_then_it_is_converted.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeTests.XmlDocumentation_With_SpecialCharacters.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeTests.XmlDocumentation_With_ParameterDescription.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeTests.XmlDocumentation_With_MultilineDescription.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeTests.XmlDocumentation_With_ComplexScenario.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeTests.NullableValueTypeArgument_With_DefaultValue.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeTests.Argument_With_DefaultValue.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeDisableXmlDocumentationTests.XmlDocumentation_Is_Suppressed_When_DisableXmlDocumentation_Is_Set.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeDisableXmlDocumentationTests.XmlDocumentation_Is_Emitted_When_DisableXmlDocumentation_Is_Not_Set.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/ObjectTypeDisableXmlDocumentationTests.GraphQLDescription_Attribute_Still_Works_When_DisableXmlDocumentation_Is_Set.snap Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsNonNullableTypeAnalyzerTests.Property_NullableReturn_NoWarning.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsNonNullableTypeAnalyzerTests.Property_NonNullableReturn_RaisesWarning.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsNonNullableTypeAnalyzerTests.Method_ValueTaskNonNullableReturn_RaisesWarning.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsNonNullableTypeAnalyzerTests.Method_TaskNullableReturn_NoWarning.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsNonNullableTypeAnalyzerTests.Method_TaskNonNullableReturn_RaisesWarning.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsNonNullableTypeAnalyzerTests.Method_NullableReturn_NoWarning.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsNonNullableTypeAnalyzerTests.Method_NonNullableReturn_RaisesWarning.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsNonNullableTypeAnalyzerTests.Method_NoLookupAttribute_NoWarning.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsNonNullableTypeAnalyzerTests.Method_FullyQualifiedTaskNullableReturn_NoWarning.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsNonNullableTypeAnalyzerTests.Method_FullyQualifiedTaskNonNullableReturn_RaisesWarning.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsListTypeAnalyzerTests.Property_ListReturn_RaisesError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsListTypeAnalyzerTests.Method_TaskListReturn_RaisesError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsListTypeAnalyzerTests.Method_SingleReturn_NoError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsListTypeAnalyzerTests.Method_NoLookupAttribute_NoError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsListTypeAnalyzerTests.Method_ListReturn_RaisesError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsListTypeAnalyzerTests.Method_IEnumerableReturn_RaisesError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/LookupReturnsListTypeAnalyzerTests.Method_ArrayReturn_RaisesError.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.
src/HotChocolate/Core/test/Types.Analyzers.Tests/snapshots/CollectionInferenceTests.Infer_Dictionary_As_List_Of_KeyValuePair.md Update generated output snapshot to pass typeof(...) instead of null into ApplyConfiguration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants