Closed windymelt closed 5 years ago
I added a sugar-syntax that calls function when configuration value is function.
For example:
(defconfig :common `(:REDIS-HOST ,(lambda () (uiop:getenv "REDIS-HOST"))))
In current implementation, configuration value is determinate because configuration is eval-ed at compilation timing. However compilation timing and execution timing is not always same.
Thanks!
I added a sugar-syntax that calls function when configuration value is function.
For example:
In current implementation, configuration value is determinate because configuration is eval-ed at compilation timing. However compilation timing and execution timing is not always same.