Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-stripe-native: make created optional for Accounts
Sometimes, `account.updated` events do not have `created` in the document, causing failures when we validate the document against its model. Allowing a default value of `None` optional will avoid these failures and reflect the API's actual response. Note: We remove the `None` default value with a lambda to keep the schema more inline with what actually happens: the `created` field is either present as an `int` or it's not present at all.
- Loading branch information