ottobackwards commented on a change in pull request #257:
URL: https://github.com/apache/plc4x/pull/257#discussion_r695038305



##########
File path: 
plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/util/Plc4xCommon.java
##########
@@ -130,7 +131,16 @@ public static Schema createSchema(Map<String, ? extends 
PlcValue> responseDataSt
                        //}else if (entry.getValue() instanceof PlcIECValue<T>) 
{
                        //}else if (entry.getValue() instanceof 
PlcSimpleValue<T>) {
                        
-                       
+                       else if(entry.getValue() instanceof PlcList) {
+                               if(!entry.getValue().getList().isEmpty()) {
+                                       if(entry.getValue().getList().get(0) 
instanceof PlcBOOL) {
+                                               
//builder.name(fieldName).type().unionOf().nullBuilder().endNull().and().bytesType().endUnion().noDefault();

Review comment:
       remove commented code




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to