Skip to content

Conversation

Sergio0694
Copy link
Member

@Sergio0694 Sergio0694 commented Dec 31, 2021

Contributes to #8
Closes #39

This PR adds trimming support to all libraries.
It also includes trimming annotations where needed.

Additionally, it enables implementing OnActivated/OnDeactivated with [ObservableRecipient], which was missing.

@Sergio0694 Sergio0694 added feature 💡 A new feature being implemented improvements ✨ Improvements to an existing functionality next preview ✈️ This changes will be available in the upcoming preview optimization ☄ Performance or memory usage improvements priority 🚩 An issue or change that has priority labels Dec 31, 2021
@Sergio0694 Sergio0694 merged commit f7a980e into main Dec 31, 2021
@delete-merged-branch delete-merged-branch bot deleted the dev/trimming-support branch December 31, 2021 19:09
Copy link

@XAML-Knight XAML-Knight left a comment

Choose a reason for hiding this comment

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

Looks like this PR was already merged into the main branch, but came across an issue in one of the unit tests, as well as a misspelling


messenger.UnregisterAll(recipientB);

Assert.IsFalse(messenger.IsRegistered<MessageB>(recipientA));

Choose a reason for hiding this comment

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

Assert.IsFalse(messenger.IsRegistered<MessageA>(recipientB));

}

// We also add the ICloneable interface to test that the message
// interfaces are all handled correctly even when inteleaved

Choose a reason for hiding this comment

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

interleaved (sp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 💡 A new feature being implemented improvements ✨ Improvements to an existing functionality next preview ✈️ This changes will be available in the upcoming preview optimization ☄ Performance or memory usage improvements priority 🚩 An issue or change that has priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add trimming support for all packages
3 participants