You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To help users configure this tool correctly, we should validate user-supplied configuration against our schema. This well help us catch and report structural errors more quickly.
I think this could have helped with #16, which turned out not to be a bug in this library, but rather a misplaced configuration key (the optIns key was accidentally nested under the sizeup key, where it should instead have appeared at the top level). If we encounter unexpected/misplaced keys during the validation process, we should warn on them, whereas if we find invalid values for a key we should fail the workflow.
The text was updated successfully, but these errors were encountered:
To help users configure this tool correctly, we should validate user-supplied configuration against our schema. This well help us catch and report structural errors more quickly.
I think this could have helped with #16, which turned out not to be a bug in this library, but rather a misplaced configuration key (the
optIns
key was accidentally nested under thesizeup
key, where it should instead have appeared at the top level). If we encounter unexpected/misplaced keys during the validation process, we should warn on them, whereas if we find invalid values for a key we should fail the workflow.The text was updated successfully, but these errors were encountered: