NestJS · Junior · Question 67 of 75

Can Nest serve GraphQL instead of REST?

Explanation

You write resolvers with @Resolver(), @Query() and @Mutation(), in a code-first or schema-first style.

Further reading

Problem with a question

NestJS · Junior · question 67

Test yourself

Take the NestJS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz