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

Support multiple errors per transaction #1152

Closed
tombruijn opened this issue Jul 4, 2024 · 1 comment
Closed

Support multiple errors per transaction #1152

tombruijn opened this issue Jul 4, 2024 · 1 comment
Assignees

Comments

@tombruijn
Copy link
Member

tombruijn commented Jul 4, 2024

I came up with an idea to fake support for multiple errors in one transaction. See this internal private discussion. It's a way to work around the limitations of the transaction API protocol and our current UI, which can only show one error. I would want to work around this by reporting each error as a duplicate transaction of the transaction they were set on (but with different errors).

We will discuss whether we want to support this method with an add_error-type helper to report multiple errors because making this the default behavior will increase plan usage.

@tombruijn
Copy link
Member Author

This has been merged and will be added as the default behavior for Ruby gem 4.0. We're still working on some behavior changes, but in general this is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants