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

Config validation error improvements #5

Open
zenflow opened this issue Sep 21, 2020 · 1 comment
Open

Config validation error improvements #5

zenflow opened this issue Sep 21, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@zenflow
Copy link
Owner

zenflow commented Sep 21, 2020

Config validation errors:

  1. should show the invalid value
  2. should show link to documentation for the relevant interface field
  3. should include full description of type instead of "1 more" (issue for https://github.com/gristlabs/ts-interface-checker)
  4. should not show stack trace (?)

Also, maybe validation errors for config.services.foo should appear like nested validation errors in config. Or maybe validation errors for config.serviceDefaults should not appear like nested validation errors in config.

Also, not an enhancement to functionality, but for maintainability gristlabs/ts-interface-builder#24 needs to be documented & an official release made.

@zenflow zenflow added enhancement New feature or request scope:core labels Sep 21, 2020
@zenflow
Copy link
Owner Author

zenflow commented Mar 18, 2021

Update: the babel macro in ts-interface-builder has been released in the official package, but still needs to be documented

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

No branches or pull requests

1 participant