go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.53k stars 1.31k forks source link

Fix unique validator for map with Pointer value #1062

Closed vijaynallagatla closed 1 year ago

vijaynallagatla commented 1 year ago

Fixes Or Enhances

I have raised an issue regarding the unique validator not working for the map with pointer value type.

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

@go-playground/validator-maintainers

coveralls commented 1 year ago

Coverage Status

Coverage: 74.198% (+0.007%) from 74.191% when pulling fcb266232fb3bf02bd34e25bd66148d75554bcc5 on vijaynallagatla:fix_unique_validator into 8f07b0368280d9fc70b4ffd3708b31427bbc286d on go-playground:master.

vijaynallagatla commented 1 year ago

@validator-maintainers Could you please review this PR ?