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

Check if a message is validated at compile time #34

Open
dmdashenkov opened this issue May 15, 2019 · 0 comments
Open

Check if a message is validated at compile time #34

dmdashenkov opened this issue May 15, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@dmdashenkov
Copy link
Contributor

SpineEventEngine/base#409 introduces @Validated and @NotValidated annotations. Basing on them, we may add create a static analyzer (e.g. an ErrorProne check) and make sure that users as well as we, do not use not validated messages.

The state of a message of being validated or not should be treated similarly to an object's nullability. We may pass not validated messages around, but not use their values.

@dmdashenkov dmdashenkov added the enhancement New feature or request label May 15, 2019
@alexander-yevsyukov alexander-yevsyukov transferred this issue from SpineEventEngine/base Sep 21, 2022
@alexander-yevsyukov alexander-yevsyukov moved this to 📋 Backlog in Validation 2.0 Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant