by Svenstaro · 9y ago · 0 comments
The reason I need REST in addition to GraphQL is that there are sometimes oddball cases where only GraphQL is a poor fit or where compatibility with older clients that I can't modify has to be ensured.
Also, is there a good way to do file upload of big files with GraphQL nowadays?
Parent was saying that to implement it, they essentially wrote their REST API by grabbing a URL, dynamically creating a GraphQL query for it on their backend server, and then executing that query against their own GraphQL schema and returning the result.
We have a REST API and GraphQL API. They both work well for their respective use cases and together satisfy our needs.
For example: https://github.com/n1ru4l/graphql-schema-generator-rest