|
|
|
|
|
by hrktb
2886 days ago
|
|
What will the library handle ?
From my understanding it’s only the query parsing and the data filtering part. Correct me if I’m wrong. You still have to do the data mapping, fetching everything from DB in a reasonable way, and make sure it all makes sense performance wise. All of that will be needed for any API, but it seems to me GraphQL adds the uncertainty on how much data will be exchanged (lots of small queries ? a few big queries ?), what can be optimized, how will cache behave etc. I remember a study on te github API on how some types of queries would make it crawl excessively. It fear it becomes a nightmare to try to cover for all the cases that can go wrong. |
|
I don't know what your use case is, but it sounds like you should just try it, I can only say that for us (multiple FE experiences, pushing logic to backend), it's been very good. If you have a different usecase, ymmv.