You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
Imagine a situation where you have a set of servers that you want to be common between multiple environments but then want to override the servers in other environments. Here is one possible example:
In this situation, I would expect the development configuration to include only devserver (or possibly server01, server02, and devserver). What actually happens is that it includes devserver and server02 but not server01. It's a bit subjective, but this behavior seems unintuitive to me and might just be an unintended consequence of using lodash.merge.
What do you think of making any environment-specific servers definitions completely override the default one?
The text was updated successfully, but these errors were encountered:
Ya know, looking at it now, it seems like maybe making an exception for servers isn't the way to go...it seems like maybe we should be using _.assign instead, always overwriting anything you have in your environment.
Imagine a situation where you have a set of servers that you want to be common between multiple environments but then want to override the servers in other environments. Here is one possible example:
In this situation, I would expect the
development
configuration to include onlydevserver
(or possiblyserver01
,server02
, anddevserver
). What actually happens is that it includesdevserver
andserver02
but notserver01
. It's a bit subjective, but this behavior seems unintuitive to me and might just be an unintended consequence of usinglodash.merge
.What do you think of making any environment-specific
servers
definitions completely override the default one?The text was updated successfully, but these errors were encountered: