-
Notifications
You must be signed in to change notification settings - Fork 370
Closed
Labels
feature request 📬A request for new changes to improve functionalityA request for new changes to improve functionalitymvvm-toolkit 🧰Issues/PRs for the MVVM ToolkitIssues/PRs for the MVVM Toolkit
Description
Overview
When trying to serialize an object that contains a [RelayCommand] the command property gets serialized by default, which could be undesirable.
We should be able to apply a custom property. to avoid serialization
Usage example
[RelayCommand]
[property: Newtonsoft.Json.JsonIgnore]
private void DoWork() { }Breaking change?
No
Alternatives
The alternative is to pass options during serialization.
Help us help you
Yes, I'd like to be assigned to work on this item
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature request 📬A request for new changes to improve functionalityA request for new changes to improve functionalitymvvm-toolkit 🧰Issues/PRs for the MVVM ToolkitIssues/PRs for the MVVM Toolkit