Hacker News new | ask | show | jobs
by 4nof 2046 days ago
The main issue seems to be improper communication and process between the frontend/backend devs. The informal solution is to agree on something like a swagger doc. The proposed solution is to expose all the fields. I'd be careful on this as unwanted fields could be unecessarily exposed. A workaround addition to this is to make a blacklist filter of fields to not expose before sending and send everything else as a passthrough.