Skip to content

Refactor WhenAnyValue usage to generic overloads #4097

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ChrisPulman
Copy link
Member

What kind of change does this PR introduce?

Update

What is the new behavior?

Replaces lambda-based WhenAnyValue calls with explicit generic overloads across multiple platforms and components for improved AOT compatibility and clarity. Adds SuppressMessage attributes to registration classes to address trimming and AOT warnings where dynamic code or reflection is not always used. Also updates project file to suppress IL2026 and IL3050 warnings for AOT tests.

What might this PR break?

New feature, part of a larger breaking change

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:

Replaces lambda-based WhenAnyValue calls with explicit generic overloads across multiple platforms and components for improved AOT compatibility and clarity. Adds SuppressMessage attributes to registration classes to address trimming and AOT warnings where dynamic code or reflection is not always used. Also updates project file to suppress IL2026 and IL3050 warnings for AOT tests.
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