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

Annotation based support for data validation #2683

Closed
shafreenAnfar opened this issue Feb 14, 2022 · 1 comment
Closed

Annotation based support for data validation #2683

shafreenAnfar opened this issue Feb 14, 2022 · 1 comment
Labels
module/http Team/PCM Protocol connector packages related issues Type/NewFeature

Comments

@shafreenAnfar
Copy link
Contributor

At the moment Ballerina does not support anything similar to JSR 303 and JSR 308. However, data validation is an integral part of writing APIs. Therefore, initial support for data validation will be done using Ballerina annotations. Later, we could consider making this part of the language itself if it improves the user experience significantly.

Related issue ballerina-platform/ballerina-spec#239

@shafreenAnfar shafreenAnfar added Type/NewFeature module/http Team/PCM Protocol connector packages related issues labels Feb 14, 2022
@anupama-pathirage anupama-pathirage moved this to StandardLib-PCM in Swan Lake Update 1 Feb 17, 2022
@shafreenAnfar shafreenAnfar added this to the 2201.2.0 milestone Feb 24, 2022
@ThisaruGuruge ThisaruGuruge removed this from the 2201.2.0 milestone Nov 30, 2022
@shafreenAnfar
Copy link
Contributor Author

Closing this as this is implemented with constraint package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/http Team/PCM Protocol connector packages related issues Type/NewFeature
Projects
None yet
Development

No branches or pull requests

2 participants