Skip to content

[Config] Purpose and Misusage of Component #20011

Closed
@chr-hertel

Description

@chr-hertel

Hi there,

over the last years I came across multiple occasions where I felt like the config component being misused for application config and I wonder if that's only me, if you feel like this is an issue we should address in the docs of the component or if the best practices address it enough in an indirect manner. Maybe I missed a part in the docs, that already clarify - or I'm simply wrong here.

My understanding:
The config component provides a solution for defining a configuration contract between two parties, e.g. a bundle provider and a bundle consumer.

It is not meant to define an applications configuration, but this is what I sometimes see - developers going an extra mile defining and validating their applications configuration. Do you consider this a bad practice? should we point this out here or is it me?

Thanks already for your feedback!

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfighasPRA 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