If you want to be able to return nested child elements for your nestjs graphql API, in this quick tips episode, you will learn how.
Free Mini-Courses
Javascript Features Basics FREE Mini-Course
Subscribe for more tutorials about Adobe Experience Manager, docker, Keras, and :
If you enjoyed my video and it helped you learning something new or solving a problem, and you would like to Buy me a coffee, you can do just that at:
00:00 Topics for the video
00:14 Channel Intro
00:39 Previous videos in the series
00:51 Introduction
01:10 Adding questions to the JSON file
01:33 Creating a Question Object Type
02:09 Add a nested child Object into the Parent Quiz Object Type
02:36 Add a method to the nestjs service for returning child elements
02:55 Add a ResolveField into the resolver for returning nested elements
03:14 Adding the logic into the method
03:50 Start the server
03:53 Open the GraphQL playground in the browser
04:03 Add the new Question nested element into the parent Quiz object
04:29 Coming next!
04:43 Mini-Course
Share this video with a friend:
Watch next
How to create a simple GraphQL API and expose a query in using
Javascript Destructuring assignment
JavaScript ES6 Features - Computed Property Names
Creating a Reactjs Component that Renders Nested Children Components Inside
Creating a Reactjs Component Using the Styled Components Library
Recommended Playlist
Basics
Adobe Experience Manager
Let’s connect:
Twitter – @drginm ()
LinkedIn –
1 view
0
0
2 weeks ago 00:20:37 2
ТОТАЛЬНЫЙ РАЗГРОМ! Масштабная ОЧИСТКА страны: ФСБ против диаспор и мигрантов