miltoneiji / hello-graphql

Playground where I learn and test new technologies.
3 stars 0 forks source link

Chaining type systems #13

Open miltoneiji opened 5 years ago

miltoneiji commented 5 years ago

From https://medium.com/netflix-techblog/our-learnings-from-adopting-graphql-f099de39ae5f: Once we defined the entities in our GraphQL server, we use auto codegen tools to generate TypeScript types for the client application. ... Since these types and queries are also validated against the server schema, any breaking change by the server would be caught by clients consuming the data.

miltoneiji commented 5 years ago

https://transform.now.sh/json-to-ts-interface/