Closed Connoropolous closed 1 year ago
@arlyon look forward to your review
@arlyon look forward to your review
Hi I encountered the same issue with regards to the deserialization of the refunds attribute but not the "fraud_details" object. It seems that the standard for List
Hello folks, thanks for taking the time to make a change. Unfortunately I cannot accept PRs that directly modify the generated code since they will be lost next week when the codegen reruns. I would be more than happy to guide you if you'd like to work through updating the codegen to work around this, or I will try to get round to it at some point. I am going to close this PR as well as #405 for this reason but feel free to open an issue regarding the charge so we can explore this further.
Summary
Charge was not deserializing successfully... I had to go in and do line by line checks with the API response I was getting to see why.
I realize that I am not doing the right thing for
fraud_details
... here is what the API was giving in reality:an empty object. What's the recommendation?
Note, I was using Charge in the context of
BalanceTransactionSourceUnion
not sure if that matters.Checklist
cargo make fmt