[WSAPI-9] Fix balances sync: string simpleReturns.rate #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bug/WSAPI-9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ticket
WSAPI-9 Fix balances sync: FetchAllAccountFinancials schema rejects string simpleReturns.rate
Summary
simpleReturns.rateinlib/wealthsimple/accounts/index.tsfromz.number().nullable()tonumericAmountSchema.nullable(), matching the tolerance every other numeric field in this query already has for Wealthsimple's number-vs-numeric-string drift.accounts-page-1.json(tfsa account'srateas a string) and added test coverage for both the string-rate coercion and anullrate parsing tonullrather than0or throwing.schema.ts's and the nestedCLAUDE.md's descriptions ofnumericAmountSchemato include rates alongside money amounts and security quantities, matching the actual consumer set.🤖 Generated with Claude Code