Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow providing descriptions and other metadata for ports #120

Closed
bergie opened this issue Dec 1, 2013 · 1 comment
Closed

Allow providing descriptions and other metadata for ports #120

bergie opened this issue Dec 1, 2013 · 1 comment

Comments

@bergie
Copy link
Member

bergie commented Dec 1, 2013

It would be useful to enable providing additional metadata about ports when declaring them for components.

Some use cases:

This could look something like:

    @inPorts =
      in: new noflo.Port 'object',
        description: 'Containing element to use for limiting element queries'
        required: false
        interface: Element
      selector: new noflo.Port 'string',
        description: 'CSS query for getting the element'
        required: true

Somewhat also related to #98.

@forresto
Copy link
Member

forresto commented Dec 1, 2013

Also good for reducing if @outPorts.x.isAttached() boilerplate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants