[ 
https://issues.apache.org/jira/browse/APEXCORE-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15170702#comment-15170702
 ] 

Thomas Weise commented on APEXCORE-361:
---------------------------------------

For nested properties to be validated, the entire path needs to be marked 
@Valid - is that the case? Example:

{code}
  @NotNull
  @Valid
  protected KafkaConsumer consumer = new SimpleKafkaConsumer();
{code}




> Validation constraint @Size is not honored by the platform during dag 
> validation 
> ---------------------------------------------------------------------------------
>
>                 Key: APEXCORE-361
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-361
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>
> I created a DAG :
> FileSplitterInput -> BlockReader -> Devnull
> Splitter has a property TimeBasedDirectoryScanner which has a property 
> `files` that is a Set of Strings.
> I have marked that property with {code} @Size(min = 1) {code}. However even 
> when the set is empty, dag validation passes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to