Search Header Logo
The Complete Strapi™ Course with Plugins and Deployment - Creating a Custom Resolver

The Complete Strapi™ Course with Plugins and Deployment - Creating a Custom Resolver

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial explains how to implement a GraphQL resolver for a mutation operation, specifically focusing on the 'like post' functionality. It covers the necessary arguments for a resolver, such as parent, args, context, and info, and how they relate to the GraphQL tree structure. The tutorial demonstrates implementing the resolver, referencing a service, and handling authorization. It concludes with testing the resolver and shaping the response to match client expectations.

Read more

3 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the significance of the 'info' argument in a resolver function?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe how to implement a mutation in GraphQL.

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What are the two main points to address when shaping a response for a mutation?

Evaluate responses using AI:

OFF

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?