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

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

Open
laeubi opened this issue Oct 5, 2022 · 1 comment

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 ...

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

No branches or pull requests

1 participant