arlyon / async-stripe

Async (and blocking!) Rust bindings for the Stripe API
https://payments.rs
Apache License 2.0
418 stars 122 forks source link

fix: avoid generating nested currency options map #481

Closed augustoccesar closed 5 months ago

augustoccesar commented 6 months ago

Summary

This PR adds a check to verify if the ty is already a CurrencyMap to avoid generating any nested Option<CurrencyMap<...>> as shown on #480 .

On a side note: this is something that will also be fixed on #452.

Closes #480 Closes #427

Checklist

arlyon commented 5 months ago

Thanks! :tada: