Skip to content

Report on fields not part of the spec - #69

Merged
ethankhall merged 15 commits into
mainfrom
ethankhall/move-known-models
Mar 5, 2024
Merged

Report on fields not part of the spec#69
ethankhall merged 15 commits into
mainfrom
ethankhall/move-known-models

Conversation

@ethankhall

Copy link
Copy Markdown
Contributor

This change is intended to report on resources that aren't correct.

In the case where a Resource has an incorrect field, we should report that the field was not set/not provided/extra value.

Now when a resource isn't valid, you'll see something like

 WARN Resource setup didn't match the schema for ScopeDoctorGroup. Additional properties are not allowed ('extra' was unexpected)

when scope is executed.

As part of this change, we're dropping support for Setup and and Check resources.
We've also moved .description under .metadata provided to all resources.

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

Successfully merging this pull request may close these issues.

1 participant