Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We have a public DRF api for third parties. But when creating our own, new, client app we found it easier to create a GrahpQL endpoint.

It was good, but comes with a lot of boilerplate. Then there is the learning curve of GrahphQL in the client. Also the bloated client with it's bucket of features (caching, etc).

We just tend to add GraphQL endpoints as we need. Found the best approach was to open the model, put in the GQL optimizer. Then when the client has settled, freeze the models by putting in some `only` settings to limit fields requested.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: