You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @tranb3r totally agree, that implementation is on my to-do list. I am working on an internal refactor to use "SyntaxFactory" instead of "String building". This change will not affect the final result or how it should be implemented, but this is important to be able to add this new feature
In some cases, it might be useful to have some custom attributes over the generated properties.
This would generate a
Username
property, with those two[JsonRequired]
and[JsonPropertyName("name")]
attributes over it.For information, this feature is already supported by
CommunityToolkit.Mvvm
in itsObservableProperty
source generator.https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/generators/observableproperty#adding-custom-attributes
I think it would be a great addition to
BindableProperty
source generator.The text was updated successfully, but these errors were encountered: