Add a way to have ObservableProperty
implicit over all fields in a class
#402
TheBlubb14
started this conversation in
Ideas
Replies: 1 comment
-
This sure makes a lot of sense. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Currently my code looks like this
but I would like to don't have to put the
ObservablePropertyAttribute
above every field inDevice
.I would like to have a new attribute called something like
ObservableClassAttribute
IgnoreObservablePropertyAttribute
and use it like this
This has some similarities #374 but I dont need to have properties from my code, they can be autogenerated.
TLDR: Generate observable property for all fields inside class and manually exlude fields with an ignore-attribute
Beta Was this translation helpful? Give feedback.
All reactions