Skip to content

Comments

fix: prevent panic in unique validation with nil pointer elements#1532

Open
nodivbyzero wants to merge 2 commits intomasterfrom
fix-unique-map-nil-values
Open

fix: prevent panic in unique validation with nil pointer elements#1532
nodivbyzero wants to merge 2 commits intomasterfrom
fix-unique-map-nil-values

Conversation

@nodivbyzero
Copy link
Contributor

Fixes Or Enhances

This is an alternative approach to resolve the panic issue in the unique validator.
Releated to: #1530

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

@coveralls
Copy link

coveralls commented Feb 12, 2026

Coverage Status

coverage: 73.877% (+0.05%) from 73.832%
when pulling a4eee8d on fix-unique-map-nil-values
into f5c74ce on master.

@nodivbyzero nodivbyzero force-pushed the fix-unique-map-nil-values branch from 59d2ced to 26d790b Compare February 19, 2026 00:27
@nodivbyzero nodivbyzero force-pushed the fix-unique-map-nil-values branch from 26d790b to a4eee8d Compare February 19, 2026 00:32
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.

2 participants