Skip to content

Commit

Permalink
Send schema on component ports when available, refs flowbased/fbp-pro…
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Sep 19, 2017
1 parent 3f71486 commit 272194f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/protocol/Component.coffee
Expand Up @@ -106,6 +106,7 @@ class ComponentProtocol
inPorts.push
id: portName
type: port.getDataType() if port.getDataType
schema: port.getSchema() if port.getSchema
required: port.isRequired() if port.isRequired
addressable: port.isAddressable() if port.isAddressable
description: port.getDescription() if port.getDescription
Expand All @@ -116,6 +117,7 @@ class ComponentProtocol
outPorts.push
id: portName
type: port.getDataType() if port.getDataType
schema: port.getSchema() if port.getSchema
required: port.isRequired() if port.isRequired
addressable: port.isAddressable() if port.isAddressable
description: port.getDescription() if port.getDescription
Expand Down

0 comments on commit 272194f

Please sign in to comment.