faros-ai/faros-events-cli

Improve Error when Missing Required Fields

willmarks opened this issue ยท 1 comments

Feature description ๐Ÿ“

Currently the error that is thrown when a required field is missing comes from the fact that there is an unbound variable. For example: "...line 421: FAROS_BUILD: unbound variable". This should be a more meaningful message that aggregates all missing required fields before failing.

Acceptance criteria โœ…

All missing required fields are communicated in one failure message.

The Event API now validates the passed data and communicates all issues in one response