Skip to content

Commit

Permalink
Provide schema for runtime exported ports, if available
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Sep 19, 2017
1 parent 4186bcc commit aa06678
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/protocol/Runtime.coffee
Expand Up @@ -36,6 +36,7 @@ portToPayload = (pub, internal, network, inPort) ->
# we don't have full component info
return def unless port
def.type = port.getDataType()
def.schema = port.getSchema() if port.getSchema
def.description = internal.metadata?.description or port.getDescription()
def.addressable = port.isAddressable()
def.required = port.isRequired()
Expand Down

0 comments on commit aa06678

Please sign in to comment.