Skip to content

[Messenger] Document the validation middleware #10474

@ogizanagi

Description

@ogizanagi

Original PR: symfony/symfony#26648

An issue was already opened some times ago: #9641
and closed by 2099d48 but there is actually no mention to the ValidationMiddleware and how to use it (ValidationFailedException should also be explained, as it allows getting the violations).

Only the ValidationConfiguration is mentioned in https://symfony.com/doc/current/components/messenger.html#adding-metadata-to-messages-envelopes but I think this middleware deserves its own section/guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Keep openMessengerhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy