Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

talk.js - Feb 2024 #58

Open
a-chocolate-bear opened this issue Dec 14, 2023 · 0 comments
Open

talk.js - Feb 2024 #58

a-chocolate-bear opened this issue Dec 14, 2023 · 0 comments

Comments

@a-chocolate-bear
Copy link

a-chocolate-bear commented Dec 14, 2023

Title of your topic

  • GraphQL - Resolvers + Typescript = Magic

Topic description

  • Building GraphQL servers can be frustrating and tedious. You have to write extra schema files, interfaces, and types for GraphQL fields and and arguments, write resolvers and then keep them in sync. You have to deal with type mismatches, typos, and refactoring issues. TypeScript functions already have all the information we need to generate a complete GraphQL API (including the schema and resolvers) using type annotations and docblock hints. This forms a single source of truth and completely eliminates the need for redundant boilerplate code. It lets you leverage the power of type inference to build type safe GraphQL APIs. In this demo, I will show you how to generate a complete GraphQL server using Hasura by writing only TypeScript functions that contain logic without building/writing API servers from scratch. This talk will change the way you think about building APIs with TypeScript.

Presenter(s)

Duration

  • 25 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant