Auto-generate GraphQL Typescript Types - Full Stack Build Ep3

Pubblicato il: 01 gennaio 1970
sul canale di: Kevin Wade
1,417
28

In this episode we'll use code generation to automatically generate Typescript types for our GraphQL schema and resolvers.

In this series, we'll use Turborepo as our monorepo, run the Node.js backend in Docker, bootstrap a frontend with Expo and React Native, bake in some GraphQL using Apollo to communicate, write everything in Typescript, and utilize the IEX api to pull in financial data.

0:00 - Intro
0:38 - GraphQL Code Generator Overview
1:50 - Install & Configure GraphQL Code Generator
9:42 - Generate types
10:35 - Extract resolvers into separate file
12:55 - Use Resolvers types
15:12 - Fix non-nullable bug
17:01 - Outro

Next Episode 👉    • Create Expo App with Apollo Client - Full ...  


In questa pagina del sito puoi guardare il video online Auto-generate GraphQL Typescript Types - Full Stack Build Ep3 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kevin Wade 01 gennaio 1970, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,417 volte e gli è piaciuto 28 spettatori. Buona visione!