The Complete Strapi™ Course with Plugins and Deployment - Customizing the GraphQL CRUD Operations

The Complete Strapi™ Course with Plugins and Deployment - Customizing the GraphQL CRUD Operations

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial covers high-level configurations for GraphQL, focusing on shadow CRUD operations and how to disable them. It explains the use of Apollo Server for custom configurations and demonstrates how to manage specific CRUD operations using the Extension Service. The tutorial provides a step-by-step guide on editing the source index.js file to customize the GraphQL plugin, offering granular control over operations like queries and mutations.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does setting 'shadow CRUD' to false do in the GraphQL plugin?

Disables only write operations

Enables only read operations

Disables all CRUD operations generated by default

Enables all CRUD operations by default

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of setting 'Playground always' to true?

To activate the playground only in development

To enable tracing functionality

To activate the playground in both development and production

To disable the playground in production

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where should the 'graphql.config' object be placed for implementation?

In the server.js file

In the plugins.js file inside the config folder

In the index.html file

In the main.js file

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file is edited to disable specific operations in the shadow CRUD functionality?

config.js

index.html

source index.js

main.js

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of the 'register' function in the source index.js file?

To initialize the application

To register new plugins

To access the strappy object for functionality

To disable all plugins

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you disable only the update functionality for a specific content type?

By setting shadow CRUD to true

By editing the main.js file

By using shadow CRUD API tag.tag.disable action with an array

By using shadow CRUD API tag.disable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Extension Service function allow you to do?

Create new content types

Disable the entire GraphQL plugin

Make modifications to the plugin functionality

Enable all CRUD operations