vanilla/garden-schema

Add scalar values to validation results

Closed this issue · 1 comments

The validation object does not contain actual values when giving validation errors which can be a bad UX in some instances. I propose we add values to the validation object if they are simple scalar values.

I ended up doing this with just type errors for now.