Skip to content

Conversation

midorimici
Copy link

@midorimici midorimici commented Sep 1, 2024

Currently, the Validate function returns validation errors as a combined string.
It makes the client difficult to show custom messages to users.
In this PR, I added another function ValidateWithErrorSlice to return an error slice so the caller can handle errors properly.

@midorimici midorimici marked this pull request as ready for review September 1, 2024 12:19
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.

1 participant