notanaverageman / Bindables

Bindables converts your auto properties into Wpf dependency or attached properties.
MIT License
52 stars 9 forks source link

Support for `CoerceValueCallback` in Source Generator #23

Closed Nextra closed 2 years ago

Nextra commented 2 years ago

The Fody variant of this package is marked as deprecated on NuGet, but it seems like the Source Generator version can not yet replace all usage scenarios, as there is currently no support for CoerceValueCallback/OnCoerceValue.

Would be great if the new package had feature parity, or an alternative/workaround was acknowledged in the README.

notanaverageman commented 2 years ago

You can always use the standard WPF way of defining dependency properties. Also a PR is always welcome.

Nextra commented 2 years ago

@notanaverageman I've never worked with Source Generators before, but I made an attempt #24.