getlago / lago-go-client

Lago Go Client
MIT License
21 stars 20 forks source link

fix: Add support for multiple errors #181

Closed jerbob92 closed 2 months ago

jerbob92 commented 3 months ago

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

vincent-pochet commented 2 months ago

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