I thought about it quite a bit and in the end, decided it was more of PITA than a benefit. Went with standard REST in the end, and I am still glad we took this decision.
I wouldn't use / introduce it until it became something that is definitely going to add substantial upside (e.g., as part of a backend-for-frontends pattern, or to support some kind of sophisticated query API)
same here, I just got an idea and jumped on building the MVP using apollo-server, I've spent about 5 hours finding a way to upload an image using GraphQl, until I decided to switch to using a simple REST API. I'm about to finish...
If your main data source is a relational data model, that is tables with relations to each other, I give a strong yes: GraphQL is a very good option. Alternatively consider supabase which provides similar time savers when mainly dealing with relational data.
3 comments
[ 4.5 ms ] story [ 20.2 ms ] threadI wouldn't use / introduce it until it became something that is definitely going to add substantial upside (e.g., as part of a backend-for-frontends pattern, or to support some kind of sophisticated query API)