Fleebs-Logo
Details werden geladen...

You're probably underusing middleware for HTTP response handling - Blog Posts - Elixir Programming Language Forum

A note on a pattern I keep running into in Elixir API clients: status-code checks and body parsing live in code after Tesla.request, instead of inside the middleware chain itself. It looks fine from the caller’s side, but it silently breaks observability. A 500 translated to {:error, _} looks like a successful request to Tesla, so :telemetry and anything else wired up to the request lifecycle stay quiet.

Ähnliche Seiten

https://elixirforum.com/t/bunnyx-a-bunny-net-elixir-client-library/75424

Bunnyx: a bunny.net Elixir client library - Blog Posts - Elixir Programming Language Forum

https://elixirforum.com/t/bunnyx-a-bunny-net-elixir-client-library/75424
https://dev.to/arturplysiuk/youre-probably-underusing-middleware-for-http-response-handling-1djf

You're probably underusing middleware for HTTP response handling - DEV Community

https://dev.to/arturplysiuk/youre-probably-underusing-middleware-for-http-response-handling-1djf
https://elixirforum.com/t/genserver-state-management-in-elixir-a-production-order-book/75444

GenServer State Management in Elixir: A Production Order Book - Blog Posts - Elixir Programming Language Forum

https://elixirforum.com/t/genserver-state-management-in-elixir-a-production-order-book/75444