3 Commits

Author SHA1 Message Date
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
Bob Du
ba093d1947
chore(binding): upgrade bson dependency to mongo-driver v2 (#4549)
Signed-off-by: Bob Du <i@bobdu.cc>
2026-02-27 23:20:01 +08:00
Laurent Caumont
d7776de7d4
feat(render): add bson protocol (#4145) 2026-01-27 10:09:01 +08:00