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

Support bean validation on object config property #21

Open
artem-v opened this issue Sep 15, 2017 · 0 comments
Open

Support bean validation on object config property #21

artem-v opened this issue Sep 15, 2017 · 0 comments

Comments

@artem-v
Copy link
Contributor

artem-v commented Sep 15, 2017

Allow to set validation object config property class with bean validation annotations (javax.validation:validation-api). Consider next example:

MyConfig {
  
  @NotNull
  private String secretKey;
  
  @NotNull
  private String callbackUrl;
  
  @Email
  private String supportEmail; 
  ...
}

It has downstream dependency on issue #22

@artem-v artem-v changed the title Support validation on object config properties Support declarative validation on object config properties Sep 21, 2017
@artem-v artem-v changed the title Support declarative validation on object config properties Support declarative validation on object config property Sep 21, 2017
@antonkharenko antonkharenko changed the title Support declarative validation on object config property Support bean validation on object config property Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant