Too Long; Didn't Read
A GraphQL Schema makes it easier to reason about long-running operations from a developer's perspective. The REST approach on the other hand is a lot easier to implement. WunderGraph puts a GraphQL RPC layer in front of all your APIs (GraphQL, REST, Databases, etc.) Combined with a generated client, we make using APIs as easy as possible, highly secure and performant. A better approach would be to design our API as an asynchronous API. Instead of returning a response immediately, we should return a response with a unique identifier.
Share Your Thoughts