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
I really enjoy using maru in combination with maru_swagger. Great library!!
But I have a minor issue: I would like to use an environment var for the host (that is put into the swagger json). doing something like host: System.get_env("HOST") || "localhost"
does not work. I guess the get_env will be called at compile time, since it is a macro.
Is there a known workaround?
Cheers
Marcus
The text was updated successfully, but these errors were encountered:
I really enjoy using maru in combination with maru_swagger. Great library!!
But I have a minor issue: I would like to use an environment var for the host (that is put into the swagger json). doing something like
host: System.get_env("HOST") || "localhost"
does not work. I guess the get_env will be called at compile time, since it is a macro.
Is there a known workaround?
Cheers
Marcus
The text was updated successfully, but these errors were encountered: