← Graph

Own your HTTP layer with a single client class

takeaway 1 connections

Suggestion raised during Q&A: if a project had routed every outbound request through a single 'HTTPRequest' class (even one that just wrapped Faraday), a verification replay layer would have been trivial to insert and the team would not have had to handle each HTTP client's quirks separately. Szymon agreed it would have been a great improvement but the project had no time for that investment — 'the simplest things are sometimes the best and they don't come to your mind early enough'.

type
recommendation
takeaway Own your HTTP layer with a single client class
from_talk
Takeaway emerged from the Q&A with an audience member.

Provenance