Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Support for private field validation. #44

Open
behroozkhorashadi opened this issue May 31, 2017 · 0 comments
Open

Support for private field validation. #44

behroozkhorashadi opened this issue May 31, 2017 · 0 comments

Comments

@behroozkhorashadi
Copy link
Contributor

Currently Rave can only validate fields in a model that are exposed through public/protected getters and setters. This leaves private and some protected member fields of the model unvalidated and vulnerable to errors. We should add the ability for Rave to reflectively check private member fields and have an auto-value extension that generates validation for private and protected fields.

Alternatively we could use byte code injection to injected validation code right into the model.

@behroozkhorashadi behroozkhorashadi changed the title Support for internal field validation. Support for private field validation. May 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant