Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

Enforce component model and config schema #179

Open
2 tasks
timfpark opened this issue May 10, 2019 · 0 comments
Open
2 tasks

Enforce component model and config schema #179

timfpark opened this issue May 10, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@timfpark
Copy link
Contributor

As a developer, I want Fabrikate to tell me when I accidentally make a mistake like misspelling generator as generate in my definition by recognizing that generate is not a field we know about and that we should stop and tell the user that so they can fix it.

There are two parts to this:

  • Enforce the config schema (the fields in ComponentConfig). ComponentConfig.Config is freeform, but the rest of the ComponentConfig model should be enforced. This will prevent folks from putting config at the root of a object versus underneath config.

  • Enforce the component schema (the fields in Component).

@timfpark timfpark added the enhancement New feature or request label May 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant