-
-
Save bdruth/dc3f0ab4ae70ba9b1505 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns environments | |
"Environment definitions") | |
(def defaults | |
{ | |
:display-item-ids true | |
:portal-url-template "portals/%s" | |
}) | |
(def perf | |
{ | |
:url-template "https://example.com/%s/ClientServices/" | |
:display-item-ids false | |
}) | |
(def staging | |
{ | |
:url-template "https://test-example.com/%s/staging/ClientServices/" | |
}) | |
(def envs | |
;; How do I merge defaults (above) into each value in the map below? | |
{ | |
"perf" perf | |
"staging" staging | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment