Are you building an API? Here is the idea: If you have never heard about the REST architectural style constraints and their implication on the properties of the resulting distributed system and you do not want to (or can’t) educate yourself, use GraphQL….
Source: https://blog.goodapi.co/rest-vs-graphql-a-critical-review-5f77392658e7
Another interesting article good for anyone having a more pluralistic perspective on this subject is this one https://www.imaginarycloud.com/blog/graphql-vs-rest/ .