Surgex v2.23.0 Surgex.Config.Patch
Patches any Mix config with Surgex.Config
.
Summary
Functions
Patches current Mix config with Surgex.Config
using given schema
Patches current Mix config with Surgex.Config
using preconfigured schema
Functions
Patches current Mix config with Surgex.Config
using given schema.
Examples
Surgex.Config.Patch.apply(sentry: [
environment: {:system, "SENTRY_ENVIRONEMNT"}
])
Patches current Mix config with Surgex.Config
using preconfigured schema.
Examples
In order to execute this extension on application start, set an appropriate config key:
config :surgex,
config_patch: [
sentry: [
environment: {:system, "SENTRY_ENVIRONEMNT"}
]
]