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

FBP protocol for values on port should allow human readable names #8

Open
bergie opened this issue May 18, 2016 · 1 comment
Open

Comments

@bergie
Copy link
Member

bergie commented May 18, 2016

Currently "values" on "inport" of component:component message just takes an array of values. I think it instead should take an array of { "id": "my-id", "name": "MyHumanId" }.
The "id" would be what is stored as an IIP, and "name" what is shown in UI. id could potentially be an integer value.
This is also more extensible in case there are other things we have not thought about.

Migrated from noflo/noflo#173

@chadrik
Copy link
Contributor

chadrik commented May 23, 2016

I'd suggest { "value": "my-id", "label": "MyHumanId" }. Should probably continue to allow list of strings for the simple case as well.

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

3 participants