Skip to content

Rethink deprecation of addError / addWarning and maybe even add addInfo and default implement those #44

New issue

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

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

Already on GitHub? # to your account

Open
laeubi opened this issue Oct 5, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@laeubi
Copy link
Collaborator

laeubi commented Oct 5, 2022

I find addWarning / addError/ ... much more descriptive and easier to read/understand than lengthy multi parameter methods.

Together with java capability of default implemented interface methods, I think we should even add more such useful methods as default implemented to the interface, e.g. ones that don't require a Throwable

@laeubi
Copy link
Collaborator Author

laeubi commented Dec 8, 2022

Maybe it would even be better to have a dedicated MessageContext API, users of that API can then just inject whatever is required ...

@slachiewicz slachiewicz added the enhancement New feature or request label Jan 6, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants