3 ms·
My longest pipe chain in Elixir so far (with ~1 year of usage) is this[1], where I build a GraphQL context from an HTTP session. I personally think it's clean e
by Kaze404 6y ago
My longest pipe chain in Elixir so far (with ~1 year of usage) is this[1], where I build a GraphQL context from an HTTP session. I personally think it's clean enough, but your comment made me wonder if it can be better.
[1] https://github.com/RodrigoLeiteF/craftup/blob/main/backend/lib/craftup_web/context.ex#L16 https://github.com/RodrigoLeiteF/craftup/blob/main/backend/l...