Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deserialize into correct v2 EventData types #1414

Merged
merged 4 commits into from
Oct 18, 2024
Merged

Conversation

helenye-stripe
Copy link
Contributor

@helenye-stripe helenye-stripe commented Oct 17, 2024

Currently we return generic StripeObjects for the EventData in our v2 events. This correctly calls construct_from when making v2 events (retrieve) to make sure they are typed appropriately.

Changelog

  • Fixes a bug where v2 EventData was not being deserialized into the appropriate type for V1BillingMeterErrorReportTriggeredEvent and V1BillingMeterNoMeterFoundEvent

@helenye-stripe helenye-stripe merged commit acd1bcc into master Oct 18, 2024
15 checks passed
@helenye-stripe helenye-stripe deleted the helenye-event-types branch October 18, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants