Skip to content

Comment on Make Your Back End Layer as Thin as Possible

Comments

I think the problem this is trying to solve is a poorly defined interface from the backend. It's not to everyone's taste but openapi/swagger solves that problem. The hypothetical conversation around the missing property is resolved simply by specifying what the API returns - if it's not in the spec then it's not going to come back.

Alternatively, it speaks of a dysfunctional dynamic between front-end and back-end developers, but no amount of technical solution fixes that.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.