I love this post! I'm so excited to implement this myself - the "poor man's microservice" is sweet. One question - the first with statement uses a variable host which doesn't appear to be in the scope. Can you explain please?
with
host
Thanks for the feedback! It appears you caught a typo in the post.
It was suposed to be conn.host. Already edited with a fix :)
conn.host
Darn, I was hoping there was some Elixir magic I was unaware of!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I love this post! I'm so excited to implement this myself - the "poor man's microservice" is sweet. One question - the first
with
statement uses a variablehost
which doesn't appear to be in the scope. Can you explain please?Thanks for the feedback! It appears you caught a typo in the post.
It was suposed to be
conn.host
. Already edited with a fix :)Darn, I was hoping there was some Elixir magic I was unaware of!