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

Field validation #584

Closed
allemattio opened this issue Feb 15, 2017 · 2 comments
Closed

Field validation #584

allemattio opened this issue Feb 15, 2017 · 2 comments

Comments

@allemattio
Copy link

Hi,
I'm looking for a way(Annotation, pre save/update listener) to validate some fields of my entities.
Is there a way in GreenDao to do this?

Wouldn't it be cool to have this feature?

@greenrobot-team
Copy link
Collaborator

I think the way to go here is by adding validation in the setters/getters of your entity classes. Does that not work for you? -ut

@greenrobot-team greenrobot-team self-assigned this Mar 20, 2017
@greenrobot-team
Copy link
Collaborator

No response. Closing. -ut

@greenrobot-team greenrobot-team removed their assignment Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants