We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Assume
it 'merges error messages with details' do A = Class.new(ActiveInteraction::Base) do def execute errors.add :base, :details_info, message: 'Custom message' end end B = Class.new(ActiveInteraction::Base) do def execute compose(A) end end outcome = B.run expect(outcome.errors.full_messages).to include('Custom message') end # Failure/Error: expect(outcome.errors.full_messages).to include('Custom message') # expected ["translation missing: en.active_interaction.errors.models.b.attributes.base.details_info"] to include "Custom message"
When errors are merged and there are details, messages are not merged, which results in missing error messages
The text was updated successfully, but these errors were encountered:
Is there any update on this?
Sorry, something went wrong.
I started to work on fixing this but the second half of 2018 was very busy for me. I'm freeing up some so I'm starting back on fixing this now.
fix #435, allow for the :message option when adding an error
:message
6171150
813c34e
2bd61cb
d94f124
fbe03d5
AaronLasseigne
No branches or pull requests
Assume
When errors are merged and there are details, messages are not merged, which results in missing error messages
The text was updated successfully, but these errors were encountered: