Open pdoms opened 1 month ago
I have opened a PR to change the ID to rtx_
, that was an oversight thanks for reporting!
Please let me know if that PR solves your issue
Thanks @arlyon for the swift response to this. I have tried it with 0.37.2
but unfortunately the error still persists.
Describe the bug
When listing
BalanceTransactions
deserialization fails at path todata.source
if the source is aReserveTransaction
(with prefixrtx_
).To Reproduce
ReserveTransaction
(Reserved Funds
) in your stripe environmentBalanceTransaction::list
- no specific params or specifyparams.type_ = Some(BalanceTransactionType::ReserveTransaction.as_str());
Expected behavior
If the
BalanceTransaction
is of typeReserveTransaction
Deserialization should work.Code snippets
No response
OS
Ubuntu 22.04
Rust version
1.77.1 2024-03-27
Library version
async-stripe 0.37.1
API version
2022-08-01
Additional context
I assume it is a bug origination in the
openAPI
specs for stripe and thus incorrect code generation.However, a manual/temporary fix could be the following.
src/ids.rs
src/resources/balance_transactions_ext.rs