Skip to content

Conversation

@hlubek
Copy link
Contributor

@hlubek hlubek commented Jul 6, 2022

Having nested fields (represented by a nested Schema in computed-types) did not produce the expected error messages.

This change fixes it by using paths with dot syntax as the errors key, which will be correctly converted by toNestError.

@bluebill1049 bluebill1049 requested a review from jorisre July 6, 2022 23:02
Copy link
Member

@bluebill1049 bluebill1049 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jorisre jorisre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you !

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.

3 participants