Alex McCullough commented on APEXCORE-528:

Hey Deepak, 

I am working on this. 

I did want to clarify the exact rules that should be in place though for the 
output ports. 

I see in the comments it states:

 // multiple ports w/o annotation, one of them must be connected

Is this truly the rule? My proposal would be for output ports, there is never a 
requirement to connect them unless the annotation explicitly marks it as 
optional = false.


> Output Ports Not Optional by Default During Validation
> ------------------------------------------------------
>                 Key: APEXCORE-528
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-528
>             Project: Apache Apex Core
>          Issue Type: Bug
>    Affects Versions: 3.4.0
>            Reporter: Alex McCullough
>            Assignee: Alex McCullough
>            Priority: Minor
> The 'optional' OutputPortFieldAnnotation states that the default value is 
> true. When you build a DAG with multiple output ports the validator throws an 
> error telling you at least one must be connected. To fix, you must explicitly 
> add the annotation to all output ports and set the value to True, which is 
> supposed to already be the default.

This message was sent by Atlassian JIRA

Reply via email to