3 ms·
I built an app with a REST API a long time ago, now a defunct startup. In an effort to save API calls, the front end devs requested that I add various other res
by E2EEd 4y ago
I built an app with a REST API a long time ago, now a defunct startup. In an effort to save API calls, the front end devs requested that I add various other resources in new endpoints, often a subset of another endpoint's response fields. The API spec ended up being fairly unwieldy.
I've often thought that this would be a great use case for GQL. Seems like a good choice if your front end wants to specify exactly what data to get.