fix: bind Date and Time query params as scalar values (#21) by mromaszewicz · Pull Request #93 · oapi-codegen/runtime

@mromaszewicz @claude

BindQueryParameter treated all structs as key-value objects in the
non-exploded form path, causing types.Date and time.Time to fail with
"property/values need to be pairs". Scalar struct types that implement
Binder or encoding.TextUnmarshaler are now bound directly via their
interface methods instead of being routed to bindSplitPartsToDestinationStruct.

Also adds Binder implementation to types.Date so it self-identifies as a
scalar binding target.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

jamietanna