fabrikate
fabrikate copied to clipboard
Enforce component model and config schema
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 underneathconfig
. -
[ ] Enforce the component schema (the fields in
Component
).