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

Remove validate and validateProperties from Validator #91

Closed
lucascs opened this issue Sep 20, 2013 · 3 comments
Closed

Remove validate and validateProperties from Validator #91

lucascs opened this issue Sep 20, 2013 · 3 comments
Milestone

Comments

@lucascs
Copy link
Member

lucascs commented Sep 20, 2013

Now we have @Valid we don't need these methods.

@garcia-jj
Copy link
Member

I think that:

  • Method validate can be removed.
  • Method validateProperties and validateProperty can be removed too, because users can use groups to validate some properties, something like @Valid(groups=MYGROUP).

garcia-jj added a commit that referenced this issue Sep 21, 2013
Removing validate/validateProperty/validateProperties methods. Closes #91
@garcia-jj
Copy link
Member

@lucascs, BeanValidator interface and it's default implementation are orphans now. Remove it, or leave in repository to allow users to do a manual validation ?

@lucascs
Copy link
Member Author

lucascs commented Sep 23, 2013

If the user really wants, he can inject a javax.validation.Validator. Remove it =)

garcia-jj added a commit that referenced this issue Sep 24, 2013
Removing manual bean validation, closes #91
@Turini Turini added this to the 4.0.0-beta-1 milestone Mar 6, 2014
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

3 participants