scalecube-config icon indicating copy to clipboard operation
scalecube-config copied to clipboard

Support bean validation on object config property

Open artem-v opened this issue 8 years ago • 0 comments

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 https://github.com/scalecube/config/issues/22

artem-v avatar Sep 15 '17 08:09 artem-v