Skip to content

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

Closed

Description

@laeubi

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

Activity

  1. laeubi commented on Dec 8, 2022

    @laeubi
    CollaboratorAuthor

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

  2. added
    enhancement
    on Jan 6, 2025
  3. laeubi commented on Oct 28, 2025

    @laeubi
    CollaboratorAuthor

    Implemented with new messages API see

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions