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
Currently the location macro doesnt include the scheme, host or port number of the request. I can see how this makes sense when consuming an API, obviously you already know that information :D
Curious if anyone else sees any value in having an option to output just the path or the full url based on the conn's current information?
The text was updated successfully, but these errors were encountered:
Hey @coryodaniel, thanks for opening this issue. I am in totally agreement that the url/link/location stuff isn't good enough.
I haven't yet had an opportunity to dig into this, but it would be awesome to be able to pass a anonymous function in anywhere we expect a location. That would allow users to use the generated Phoenix.Router _path or _url functions to build urls.
Currently the location macro doesnt include the scheme, host or port number of the request. I can see how this makes sense when consuming an API, obviously you already know that information :D
Curious if anyone else sees any value in having an option to output just the path or the full url based on the conn's current information?
The text was updated successfully, but these errors were encountered: