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

Mechanism for helpers to specify valid app.yml usage #102

Open
macMikey opened this issue Aug 7, 2018 · 2 comments
Open

Mechanism for helpers to specify valid app.yml usage #102

macMikey opened this issue Aug 7, 2018 · 2 comments

Comments

@macMikey
Copy link
Contributor

macMikey commented Aug 7, 2018

I'm just picking on helpers even though this would be something nice to have in general.
If the developer does not specify valid settings in app.yml (maybe via a typo), the developer does not get a fail message. In the case of helpers that are seldom used (e.g. error or exception handling), they may never find out about the problem until their app is out in the field and SURPRISE!

Example of how this might look:
(helper.yml file)

helper-options:
   output-target
      mandatory: false
      valid-values: msg,field,answer,,

The last set of double-commas means that the value can also be empty.

@trevordevore
Copy link
Owner

If this is something you want to take up, flesh out, and implement I can provide guidance.

@macMikey
Copy link
Contributor Author

macMikey commented Aug 7, 2018

I figured this would be on me, so yes.

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