Source Generator for reactive properties #3674
benjamin-hejl
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ReactiveUI is missing a modern property boiler plate code generator. Roslyn source code generator provides better usage (source code is visible, debuggable etc) with generating source code, than the ReactiveUI.Fody, which edits IL (afaik).
My idea is to generate boiler plate code like this:
The
[ReactiveProperty]
attribute could provide some more hints to the generator - for example property name, whether both setter & getter should be generated (or their visibility).Beta Was this translation helpful? Give feedback.
All reactions