Skip to content

Switch property change code generator #18

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 2 commits into
base: master
Choose a base branch
from

Conversation

TheBlubb14
Copy link
Collaborator

From our solution to CommunityToolkit.Mvvm

From our solution to `CommunityToolkit.Mvvm`
@TheBlubb14 TheBlubb14 requested a review from susch19 August 24, 2022 22:09
@susch19
Copy link
Owner

susch19 commented Aug 25, 2022

I don't like, that we know have to add the attribute above every field. Isn't there a configuration or anything like that to reverse this logic, like having everything field in an ObservableObject be an ObversableProperty and exclude the properties we don't want to observe?

@susch19
Copy link
Owner

susch19 commented Sep 18, 2022

Is this still needed? Most parts of this generator will be removed, when feature/zigbee2mqtt is merged. The rest is only required, when the class has a property, which is currently only the case for painless devices or ConnectedDevice

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.

2 participants