Skip to content

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

Closed
@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