Some type mismatches can cause b/indexable to throw an error before validation happens. This error doesn't happen when you pass a string instead of a UUID, which is why the current tests don't catch this.
This fix moves validation to be called before b/indexable.
I've added more tests cases to capture this issue.
:validate-data? true
doesn't work for some types.Some type mismatches can cause
b/indexable
to throw an error before validation happens. This error doesn't happen when you pass a string instead of a UUID, which is why the current tests don't catch this.This fix moves validation to be called before
b/indexable
.I've added more tests cases to capture this issue.
Let me know if you want me to make any changes.