DEV Community

Discussion on: Why I no longer use GraphQL for new projects

Collapse
 
andyrewlee profile image
Andrew Lee

I'm talking about a special kind of app, a project that's just getting started.

The worst thing that can happen to a new project is no one uses it. I believe the main problem at hand is validating a business idea, not worrying about sending 5 requests instead of 1 request.

There are definitely ways to have performant and secure graph. It does require a level of comfort zone with GraphQL. It does require additional tooling. It might also introduce some black boxes as well if we are blindly using these tools without understanding the internals.

Choosing the right tool for the job is very important. We have to consider the stage of the product and the size of the team when choosing initial set of technologies.

If I'm working on a mature project that already has product market fit, of course I would prefer to work with GraphQL. These arguments would be poor if I was talking about mature apps.

Collapse
 
bookra profile image
bookra

To your point about reaching for a tool too early in a project, a microservices architecture shouldn't be utilized before the "seams" of the business domains have been clearly defined.

Thread Thread
 
andyrewlee profile image
Andrew Lee

Absolutely. Microservices is not the right approach when we are just trying to validate a business idea.