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

Feature: GetDefinition(paramOrOutput) function(s) #134

Open
vdice opened this issue Sep 24, 2019 · 0 comments
Open

Feature: GetDefinition(paramOrOutput) function(s) #134

vdice opened this issue Sep 24, 2019 · 0 comments

Comments

@vdice
Copy link
Member

vdice commented Sep 24, 2019

We've seen the use for helper func in cnab-go, GetDefinition(paramOrOutput) or some such (may need a function for each type), that'd return the schema definition for a parameter/output or return a corresponding error (if definition not found/empty/etc.) Duplicated/boilerplate code for retrieving a parameter's/output's definition can then be reduced to a single function call and the implementation updated in one place as needed, etc.

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

No branches or pull requests

1 participant