Skip to content
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

How to generate a property with a validation method using the [ObservableProperty] attribute? #457

Open
yangf85 opened this issue Aug 23, 2024 · 0 comments
Labels

Comments

@yangf85
Copy link

yangf85 commented Aug 23, 2024

Hi,everyone!
Here's my question:
When I use the [ObservableProperty] attribute,
it generates a regular property without a validation method. If I need to validate this property,
I have to write out the entire property, like this. Is there a better way to implement it?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant