Skip to content

fix(types): skip None fields in FillsHistoryParams query serialization#109

Merged
extremeandy merged 1 commit into
masterfrom
fix/fills-history-query-signing
Jul 1, 2026
Merged

fix(types): skip None fields in FillsHistoryParams query serialization#109
extremeandy merged 1 commit into
masterfrom
fix/fills-history-query-signing

Conversation

@extremeandy

@extremeandy extremeandy commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add skip_serializing_if = "Option::is_none" to optional fields on FillsHistoryParams
  • Fixes invalid signature errors on get_historical_fills after the serde_qs 1.1.x bump, which serializes unset Options as bare keys

@davewelch99

Copy link
Copy Markdown

Why not add a test as well ?

@extremeandy extremeandy force-pushed the fix/fills-history-query-signing branch 3 times, most recently from f58bc67 to 77333a6 Compare June 30, 2026 08:40
serde_qs 1.1.x emits bare keys for unset Options, which breaks signature
verification on get_historical_fills. Omit None fields like other query types.
@extremeandy extremeandy force-pushed the fix/fills-history-query-signing branch from 77333a6 to ba1e064 Compare June 30, 2026 08:51
@extremeandy extremeandy merged commit ed208b8 into master Jul 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants