Skip to content

[Config] Show supported options when unsupported option is provided #28075

@sstok

Description

@sstok

Description
In the Symfony Slack someone encountered the following error, the validator option does not exist as it's validation. Yet the exception message did provide any helpful tips to resolve this issue.

image

I would be helpful to list (if possible) the supported options and/or show a "did you mean?".

Example

Unrecognized option "validator" under "framework", supported options are "validator", "...".

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfigDXDX = Developer eXperience (anything that improves the experience of using Symfony)RFCRFC = Request For Comments (proposals about features that you want to be discussed)

    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