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
For example, I'm using this to add a AUTH_TOKEN header with the proxy. The request comes in with Content-Type: application/json, but after this merge only the overrides exist.
One fix would be to do (merge-with merge req http-opts), which handles one level of nested (which will always be the case with http-opts).
I wonder if we can solve this problem decisively by somehow providing a hook into the merging process itself, like perhaps by accepting a function that will perform the merging? I'm imagining changing the signature of wrap-proxy like this:
Activity
micha commentedon Mar 28, 2014
I wonder if we can solve this problem decisively by somehow providing a hook into the merging process itself, like perhaps by accepting a function that will perform the merging? I'm imagining changing the signature of
wrap-proxylike this: