Skip to content

feat: Add support for nullable reference types in generator#368

Merged
Keboo merged 1 commit into
masterfrom
kdb/fixNullableBrush
Jun 5, 2026
Merged

feat: Add support for nullable reference types in generator#368
Keboo merged 1 commit into
masterfrom
kdb/fixNullableBrush

Conversation

@Keboo

@Keboo Keboo commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Previously, the source generator would not correctly identify types declared with nullable reference types (e.g., Brush?, DependencyObject?). This prevented the generation of expected helper extension methods for properties of these types.

This change updates the generator to recognize both nullable and non-nullable versions of relevant types, ensuring comprehensive helper generation. A new compilation-only test validates this functionality.

Previously, the source generator would not correctly identify types declared with nullable reference types (e.g., `Brush?`, `DependencyObject?`). This prevented the generation of expected helper extension methods for properties of these types.

This change updates the generator to recognize both nullable and non-nullable versions of relevant types, ensuring comprehensive helper generation. A new compilation-only test validates this functionality.
@Keboo Keboo enabled auto-merge (squash) June 5, 2026 05:24
@Keboo Keboo merged commit 7d00987 into master Jun 5, 2026
3 checks passed
@Keboo Keboo deleted the kdb/fixNullableBrush branch June 5, 2026 05:29
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.

1 participant