4 ms·
I see GraphQL as unneeded if you already have a BFF managed by front teams. Going with basic REST gives you simpler caching/optimisation paths, more straightfo
by makeitdouble 4y ago
I see GraphQL as unneeded if you already have a BFF managed by front teams.
Going with basic REST gives you simpler caching/optimisation paths, more straightforward mapping between the front request and the backend calls, and it makes it easier for other teams to look at what you’re doing and comment on/fix stuff as needed. GraphQL would be pure syntax sugar, and I’m not sure it would be worth the trade-off.
- gedy 4y ago> more straightforward mapping between the front request and the backend calls, I disagree, at least compared to something like Apollo Server or Hasura. The mapping is much easier, especially if you consider things like resolvers having parts of the schema going to different backend servers, API endpoints, separate caching, etc. We tried to do this manually via a REST server, and found that we were just reinventing something like Apollo, but badly.