Skip to content

Support nested values in config overrides #37

Description

@bajtos

At the moment, loopback-boot does not support non-value types like arrays or objects in .local.json and .js config files.

The reason for that is with non-value types, there are multiple possible operations that one may want to perform:

  1. override the whole value, replace one object/array with another
  2. override the item at a given index in an array or replace the value of the given key in an object
  3. add items to an array or key/values to an object
  4. remove items from an array or delete key/values from an object

We should come up with a solution flexible enough to support most of these use-cases. Note that they are recursive, e.g. one may want to override the object value of the ssl key in object stored under the transport key.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions