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

Clarify when custom validation is triggered #604

Open
evanw555 opened this issue Apr 23, 2021 · 0 comments
Open

Clarify when custom validation is triggered #604

evanw555 opened this issue Apr 23, 2021 · 0 comments
Labels
documentation Documentation errors or suggestions (https://rest.li/)

Comments

@evanw555
Copy link
Contributor

It's apparently not clear to many customers when custom validation (i.e. "validate" PDL annotation) is triggered. Many customers seem to believe that these validations should be triggered on template initialization or on template getters/setters, which isn't true.

We should update the validation documentation to make this clear: https://linkedin.github.io/rest.li/Validation-in-Rest_li#custom-validation-rules

@evanw555 evanw555 added the documentation Documentation errors or suggestions (https://rest.li/) label Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation errors or suggestions (https://rest.li/)
Projects
None yet
Development

No branches or pull requests

1 participant