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

fix: Add support for multiple errors #181

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

jerbob92
Copy link
Contributor

This pull request adds support for multiple error details returned from the Lago API. When you use the batch endpoint, it's possible that Lago returns multiple validation errors. This could not be unmarshalled to the Error struct.

This fixes #174

@jerbob92 jerbob92 force-pushed the fix/support-multiple-errors branch from 29f265f to fba227c Compare June 11, 2024 11:48
@jerbob92 jerbob92 force-pushed the fix/support-multiple-errors branch from fba227c to b360b60 Compare June 11, 2024 11:49
@vincent-pochet
Copy link
Contributor

Thank you @jerbob92 for this pull request
I'm about to merge it, it will be released in the next version

@vincent-pochet vincent-pochet merged commit ba07d56 into getlago:main Jun 18, 2024
1 check passed
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.

[BUG]: Multiple errors in error_details can't be unmarshalled
2 participants