You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
httpmock generation fails for query params with array types (e.g., Vec<T>) #1260
The httpmock generator currently stringifies all query/header/path params via value.to_string() (see progenitor-impl/src/httpmock.rs). This implicitly requires Display and only supports single-value params.
For array query params (e.g., Vec), Display isn’t implemented and the generated mocks won’t compile.
It also doesn’t match the client’s actual query encoding (QueryParam uses serde and supports arrays by repeating the key). Should switch httpmock query matching to use the same serialization logic as the client.
Activity
danieleades commentedon Dec 20, 2025
@ahl would be great if this could get some love, as i currently cant make use of generated mocks feature
danieleades commentedon Oct 26, 2026
Ping @ahl