Перейти к содержимому

Generating TypeScript Types for GraphQL Schema, Queries and Mutations Using GraphQL Code Generator

Dmytro Danylov

0:00 / 0:00

Generating TypeScript Types for GraphQL Schema, Queries and Mutations Using GraphQL Code Generator

19 644 просмотра · 6 лет назад
Dmytro Danylov
4 тыс. подписчиков
19 644 просмотра · 6 лет назад
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...