Allow ObservableProperty to be used in classes implementing INotifyPropertyChanged #1129
Closed
Moreno-Gentili
started this conversation in
New Feature Discussions
Replies: 2 comments
-
Hi @Moreno-Gentili! You'll want to open a discussion on the MVVM Toolkit repo, https://GitHub.com/CommunityToolkit/dotnet |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, I'm closing this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, suppose I liked my view models to be close to their view. So close, in fact, that I'd define my commands and properties in the code behind file (easier to understand, less files to manage).
Unfortunately, this is not allowed. The error MVVMTK0002 is shown.
What's exactly the problem here? Since a
ContentView
is already implementingINotifyPropertyChanged
, the source generator should just add the missing parts.Beta Was this translation helpful? Give feedback.
All reactions