Skip to content

re: How to convince your team to use GraphQL? VIEW POST

re: In GraphQL, you need to write queries, which is far more verbose than passing a parameter or picking another endpoint. For example, for news list, ...

Thanks for Ariadne – I didn't know that!

As for structure, imports etc, this all can be achieved with REST. Keeping hardcoded endpoints is just as poor practice as keeping queries hardcoded (the exception may be a single-time-use thing).

The problem with queries is, while you don't mind writing them, and I don't either, there will be people that won't see it that way. And I totally understand a seasoned developer that worked with REST for 10 years that don't have the time to learn a new way to query the data, given the fact how little GQL is there in the market, comparing to REST.

code of conduct - report abuse