gin/binding
okxint f3875ecaeb fix(binding): call validate() after bson.Unmarshal in BSON binding
Every other binding (JSON, YAML, XML, TOML) calls validate() after
unmarshaling. BSON skipped it, so struct tags like binding:"required"
were silently ignored for BSON-bound requests.

Add validate() call and a regression test covering the required-field
validation path.
2026-09-29 06:58:45 +05:30
..
2025-04-12 00:00:59 +08:00
2022-05-30 15:16:10 +08:00