A Crystal web framework that makes building applications fast, simple, and enjoyable. Get started with quick prototyping, less bugs, and blazing fast performance.
It turned out that this feature was already implemented in Amber. But no one documented it.
You can override values defined inside .yml files in the config/settings.cr file. It essentially acheives the goals of this issue: Which is to provide a clean API for accessing configuration variables.
Right now I can say that if there is an ENV declared that does exist in one of the environment yaml files, Amber will prefer the ENV declaration over the yaml file version.
Original Message Deleted
It turned out that this feature was already implemented in Amber. But no one documented it.
You can override values defined inside .yml files in the
config/settings.cr
file. It essentially acheives the goals of this issue: Which is to provide a clean API for accessing configuration variables.TODO: Document this feature.