Skip to content

Update Choice Generator to v1.3.4 with new features#9

Merged
temonk merged 1 commit intomainfrom
bugfix/arraydocumentation
Sep 23, 2025
Merged

Update Choice Generator to v1.3.4 with new features#9
temonk merged 1 commit intomainfrom
bugfix/arraydocumentation

Conversation

@temonk
Copy link
Copy Markdown
Contributor

@temonk temonk commented Sep 23, 2025

  • Enhanced XML documentation generation in Executor.cs using dynamic cref tags.
  • Removed unused constant IXmlSerializableFullName from Constants.cs.
  • Refactored PropertyDetails.cs to make TypeSymbol read-only and simplify IsDateOnly.
  • Introduced a new test for array handling in ChoiceGeneratorTest.cs.
  • Configured DiffTools in ModuleInitializer.cs for better snapshot testing.

@temonk temonk requested a review from Copilot September 23, 2025 06:39
- Enhanced XML documentation generation in `Executor.cs` using dynamic cref tags.
- Removed unused constant `IXmlSerializableFullName` from `Constants.cs`.
- Refactored `PropertyDetails.cs` to make `TypeSymbol` read-only and simplify `IsDateOnly`.
- Introduced a new test for array handling in `ChoiceGeneratorTest.cs`.
- Configured `DiffTools` in `ModuleInitializer.cs` for better snapshot testing.
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 Choice Generator to version 1.3.4 with several enhancements focused on improving XML documentation generation and adding test coverage for array types. The main changes include dynamic cref tag generation for better type references in documentation, code cleanup, and new test infrastructure.

  • Enhanced XML documentation with dynamic cref tags for improved type references
  • Removed unused constant and refactored property details for better maintainability
  • Added comprehensive test coverage for array handling in choice types

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Directory.Build.props Version bump to 1.3.4
src/AltaSoft.Choice.Generator/Executor.cs Enhanced XML documentation generation using dynamic cref tags
src/AltaSoft.Choice.Generator/Extensions/CompilationExt.cs Added GetCrefForType method for dynamic XML documentation generation
src/AltaSoft.Choice.Generator/Helpers/Constants.cs Removed unused IXmlSerializableFullName constant
src/AltaSoft.Choice.Generator/Models/PropertyDetails.cs Made TypeSymbol read-only and simplified IsDateOnly method
tests/AltaSoft.ChoiceGenerator.Tests/ArrayInTypeChoice.cs New test class for array handling in choice types
tests/AltaSoft.Choice.Generator.SnapshotTests/ChoiceGeneratorTest.cs Added test for array in choice documentation generation
tests/AltaSoft.Choice.Generator.SnapshotTests/ModuleInitializer.cs Configured DiffTools for better snapshot testing
tests/AltaSoft.Choice.Generator.SnapshotTests/Snapshots/ChoiceGeneratorTest.ChoiceTypeShouldGenerateDocumentationCorrectly_ForArrayInChoice#ArrayInTypeChoice.g.verified.cs Generated snapshot for array choice documentation test

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@altasoft altasoft deleted a comment from Copilot AI Sep 23, 2025
@temonk temonk merged commit c408664 into main Sep 23, 2025
1 check passed
@temonk temonk deleted the bugfix/arraydocumentation branch September 23, 2025 06:46
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.

2 participants