Skip to content

Feature overridable Inheritance property#123

Merged
glennawatson merged 2 commits intoreactiveui:mainfrom
neominky:main
Nov 9, 2024
Merged

Feature overridable Inheritance property#123
glennawatson merged 2 commits intoreactiveui:mainfrom
neominky:main

Conversation

@neominky
Copy link
Contributor

@neominky neominky commented Nov 8, 2024

What kind of change does this PR introduce?

feature added overridable property "Inheritance"

What is the current behavior?

122

What is the new behavior?

added an overridable argument to the reactive attribute. The code generator adds the relevant 'virtual' / 'override' / 'new' keyword to the property declaration.
[Reactive(Inheritance = InheritanceModifier.Virtual, SetModifier = AccessModifier.Public)] private string? _nodeName;

What might this PR break?

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:

closes #122

@ChrisPulman ChrisPulman changed the title Feature overridable property Feature overridable Inheritance property Nov 8, 2024
@glennawatson glennawatson merged commit 9c1feac into reactiveui:main Nov 9, 2024
@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 Nov 23, 2024
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.

Please support "virtual"

3 participants