Skip to content

YamlFileLoader does 'supports' based purely on file extension #20308

@salvocanna

Description

@salvocanna

After playing a while with the symfony configuration I realised there's no way to make symfony parse and load a yaml file if its extension is not in ['yml', 'yaml']

Shouldn't it be a configuration?

Something like:

imports:
    - { resource: my_custom_config.ext, format: yml }

I can submit a pull request

I'm sorry if this may be already implemented somehow and I'm not aware of it.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions