Questions tagged [graphql]
For questions about GraphQL, an API technology designed to describe the complex, nested data dependencies of modern web applications.
21 questions
1 vote
2 answers
570 views
Is there anything that rest APIs can do that GraphQL still cannot do?
I just started learning about the specification, but I still have some doubts about why GraphQL simply hasn't replaced REST since it was created. REST APIs are very inflexible and straightforward. ...
1 vote
1 answer
2k views
Difference between Resolvers and Controllers?
I may be overthinking it, but are controllers and resolvers the same thing in web applications? Coming from the MERN stack, everyone used to call these request processing functions "controllers,&...
1 vote
1 answer
478 views
Doesn't Apollo Federation for GraphQL services encourage bad software design?
Background In the scenario GraphQL Federation was designed for, you have numerous GraphQL microservices in the backend, each with their own Schema Definition Language (SDL). Theoretically, these ...
1 vote
1 answer
533 views
What are the differences between server-server communication vs client-server communication
How does server-server communication compare to client-server communication? I'm wondering if there are any performance benefits when putting a GraphQL layer in between my client-side app and my rest-...
-3 votes
2 answers
345 views
Cloudfront distribution having multiple domains
I am developing a multi-tenant project that will be a kind of micro "ecommerce" and therefore customers will be able to create their own stores and will be able to choose between creating a ...
-1 votes
1 answer
411 views
Should graphql api implementation select specific fields from database before resolving?
I recently had to optimize my graphql API server by selecting only specific fields from the database before returning the actual result to the client. For example, let's say my graphql schema has the ...
4 votes
1 answer
742 views
What *really* is the difference between relational and non-relational data?
Here is where I am at right now: I know that relational data, like that found in relational databases like MySQL or Postgres, is relational because there are relations between the tables. That is the ...
0 votes
1 answer
377 views
GraphQL results in a very large Query and Mutator file for Enterprise Monolith
I am investigating a good maintainable architecture for GraphQL. In particular we want to migrate a REST app to GraphQL. Specifically I am using .NET. I am following the tutorial here: https://...