Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmetics fix for Validate() to be specified on struct instead of pointer #41

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

teran
Copy link
Contributor

@teran teran commented Jun 8, 2024

In the need of running struct field validators using Validate() method on pointers will no work silently. So this fix makes them working.

Unfortunately there's no option to cover that case except in tests by validating negative scenarios.

…nter

Signed-off-by: Igor Shishkin <me@teran.dev>
@teran teran merged commit 7bbe8ff into master Jun 8, 2024
8 checks passed
@teran teran deleted the fix/checkers-spec-validator branch June 8, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant