Confix v0.2.0 Confix.Patch View Source

Patches any Mix config with Confix.

Link to this section Summary

Functions

Patches current Mix config with Confix using given schema

Patches current Mix config with Confix using preconfigured schema

Link to this section Functions

Patches current Mix config with Confix using given schema.

Examples

Confix.Patch.apply(sentry: [
  environment: {:system, "SENTRY_ENVIRONEMNT"}
])

Patches current Mix config with Confix using preconfigured schema.

Examples

In order to execute this extension on application start, set an appropriate config key:

config :confix, patch: [
  sentry: [
    environment: {:system, "SENTRY_ENVIRONEMNT"}
  ]
]