DEV Community

Discussion on: Why GraphQL is the Ideal API Language for Frontend Engineers

Collapse
 
devhammed profile image
Hammed Oyedele

That is the job of resolvers which are equivalent to route handlers in REST. They are different ways to specify them depending on your graphql server but the concept is the same: "return a value".

Collapse
 
jayp profile image
Jay A. Patel

Besides hand writing all resolvers, you can also take a look at Hasura or Postgraphile if you want to skip writing basic resolvers.