The Complete Strapi™ Course with Plugins and Deployment - Extending the Schema (Custom Mutation)

The Complete Strapi™ Course with Plugins and Deployment - Extending the Schema (Custom Mutation)

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial covers setting up a GraphQL plugin, creating a like post mutation, and understanding the structure of GraphQL API responses. It emphasizes reusing existing types and understanding the response structure, including post entity responses. The tutorial concludes with a brief mention of implementing a custom resolver in the next lesson.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the initial step in setting up a GraphQL plugin according to the tutorial?

Creating a new type

Copying an extension function

Removing all parameters

Starting the server

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of the 'like post' mutation?

To fetch all posts

To delete an existing post

To create a new post

To update a post with a like

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it recommended to reuse existing types from GraphQL documentation?

To prevent reinventing the wheel

To avoid errors

To ensure compatibility

To save time and effort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the required input type for the 'like post' mutation?

Float

ID

Boolean

String

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a custom resolver in the context of the 'like post' mutation?

To create new types

To handle requests and send responses

To delete posts

To start the server