Generating TypeScript Types for GraphQL Schema, Queries and Mutations Using GraphQL Code Generator
Автор: Dmytro Danylov
Загружено: 2020-09-06
Просмотров: 19604
In this video I'll show how to generate TypeScript types for GraphQL schema, resolvers, queries and mutations using GraphQL Code Generator. For the example I'll use a simple Next.js app that includes both, the front end and the back end.
Table of Contents:
00:25 The example app's overview
01:04 Brief explanation of the app's back end
03:42 Setting up GraphQL Code Generator for the back end (the resolvers)
09:14 Using the generated types to describe the resolvers
16:04 Brief explanation of the app's front end
17:53 Setting up GraphQL Code Generator for the front end
Code:
https://github.com/d-dmytro/youtube-g...
👨💻 My Udemy Course:
Using TypeScript with React
https://www.udemy.com/course/react-wi...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: