Skip to content

Add XML documentation for default instance properties in complex value objects#13

Merged
PawelGerr merged 1 commit intoPawelGerr:masterfrom
kmskebo:feature/add-missing-xmldoc
Sep 30, 2025
Merged

Add XML documentation for default instance properties in complex value objects#13
PawelGerr merged 1 commit intoPawelGerr:masterfrom
kmskebo:feature/add-missing-xmldoc

Conversation

@kmskebo
Copy link
Copy Markdown
Contributor

@kmskebo kmskebo commented Sep 30, 2025

When defining DefaultInstancePropertyName for ComplexValueObjectAttribute the generated default instance has no xml doc.
It however works fine for the ValueObject attribute so it seems like it has just been forgotten.

@kmskebo kmskebo force-pushed the feature/add-missing-xmldoc branch from 84496be to 103093c Compare September 30, 2025 09:57
@PawelGerr
Copy link
Copy Markdown
Owner

@claude Review the pull request :)

@claude
Copy link
Copy Markdown

claude bot commented Sep 30, 2025

Claude encountered an error —— View job

Failed with exit code 128

I'll analyze this and get back to you.

@PawelGerr PawelGerr merged commit 82f3bb4 into PawelGerr:master Sep 30, 2025
1 check failed
@kmskebo kmskebo deleted the feature/add-missing-xmldoc branch September 30, 2025 10:51
@PawelGerr PawelGerr requested a review from Copilot October 9, 2025 18:11
Copy link
Copy Markdown

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 adds missing XML documentation for default instance properties in complex value objects. The source generator was missing XML documentation comments for the default instance property when DefaultInstancePropertyName was customized in ComplexValueObjectAttribute, while regular value objects already had this documentation.

Reviewed Changes

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

File Description
ComplexValueObjectCodeGenerator.cs Adds XML documentation generation for default instance properties in complex value objects
ValueObjectSourceGeneratorTests.Should_generate_complex_struct_with_custom_default_instance_property_name.verified.txt Updates test verification to include the expected XML documentation comment

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants