Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix For Reactive Property with Nested Classes #152

Merged
merged 2 commits into from
Jan 5, 2025

Conversation

ChrisPulman
Copy link
Member

What kind of change does this PR introduce?

fix for #133

What is the current behavior?

When using the [Reactive] generator with nested classes, the parents are not generated

What is the new behavior?

When using the [Reactive] generator with nested classes, the parents are generated

What might this PR break?

fix for regression

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:

Fixes for [ObservableAsProperty] and [ReactiveCommand] will follow in separate PR's

parentInfo);
}

public static void GetParentClasses(ref List<string> parentClassDeclarations, TargetInfo? targetInfo)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't need to be ref does it

@@ -7,7 +7,7 @@

namespace TestNs
{
/// <summary>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing the offset is just caused by a """ raw string literal, where the first line is not aligned with the ending quotes.

@ChrisPulman ChrisPulman merged commit 725bb73 into main Jan 5, 2025
1 check passed
@ChrisPulman ChrisPulman deleted the CP_FixForReactiveNestedClasses branch January 5, 2025 14:10
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 Jan 20, 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.

2 participants