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

Add a way to supply defaults for inputs #7

Open
sanjaypojo opened this issue Apr 14, 2019 · 2 comments
Open

Add a way to supply defaults for inputs #7

sanjaypojo opened this issue Apr 14, 2019 · 2 comments

Comments

@sanjaypojo
Copy link
Collaborator

No description provided.

@bfelbo
Copy link
Contributor

bfelbo commented Apr 14, 2019

This is highly linked to the optional inputs issue, perhaps you wanna merge them.

@sanjaypojo
Copy link
Collaborator Author

The new approach -- we override inputs to also accept an object instead of a string. Here, the user can supply a default. The default will be type-checked statically.

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

2 participants