Config Object

Noun · Development

Definitions

  1. A structured object that groups related configuration values passed into a function, class, or component. Config objects make APIs easier to extend over time because new options can be added without constantly changing positional parameter lists.

    In plain English: An object that groups configuration settings together.

    Example: "They replaced seven constructor arguments with a config object so the service could grow new options without breaking every caller."

Related Terms