Skip to content

Conversation

@ChrisPulman
Copy link
Member

What kind of change does this PR introduce?

fix for #208

What is the current behavior?

#208

What is the new behavior?

This pull request introduces changes to the ReactiveUI source generators to support the UseRequired attribute for properties. The most important changes include adding a new property with the UseRequired attribute, updating the generator to handle the new attribute, and modifying the property syntax generation to include the required keyword when applicable.

Support for UseRequired attribute:

Generator updates:

Property syntax generation:

What might this PR break?

None as code generation would have failed when used in this manner

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

@glennawatson glennawatson merged commit 24ce747 into main Mar 16, 2025
1 check passed
@glennawatson glennawatson deleted the CP_FixFor208 branch March 16, 2025 01:28
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants