TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Game Changing Typed GraphQL

34 pointsby aexolover 3 years ago

6 comments

brainbagover 3 years ago
Looks nice. How does it compare to graphql-code-generator? I've been using that tool for years and I'm happy with it, but always glad for improved tools.
评论 #30009649 未加载
arcticfoxover 3 years ago
<a href="https:&#x2F;&#x2F;hasura.io&#x2F;blog&#x2F;your-guide-to-graphql-with-typescript&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hasura.io&#x2F;blog&#x2F;your-guide-to-graphql-with-typescript...</a><p>So I guess this is a recommended option from Hasura to generate typed API bindings; I was going to try following that tutorial at some point, looks pretty slick.<p>Am I understanding correctly that this tool works with something like Hasura (GraphQL backend) to generate an API schema &#x2F; query client that can be used with something like react-query to retrieve data?
评论 #30010057 未加载
aexolover 3 years ago
Why I am posting this? 2 reasons: GraphQL Zeus reached 4.0 and is compatible with huuge schemas, second reason I received a great contribution with full readme rewrite and I packaged it into docs site
Syttenover 3 years ago
Not a fan of uselessly sensational titles, but will give it a try. Currently using urql and codegen that already handle that pretty well. What is your edge?
评论 #30009745 未加载
antholeoleover 3 years ago
Something I’ve been wondering: does graphQL Zeus increase code size as schema grows? I get that there’s a constant code size for the package, but I’m running on cloudflare workers for some processes, and scripts have a limit of 1MB. I’m using Hasura, so the gql schema is quite large. I’d like to switch over to Zeus for typings, but I’m worried it’ll push me over the 1MB limit.
评论 #30024484 未加载
gvkhnaover 3 years ago
What’s the difference between this and react relay, which generates typescript types for Graphql queries?
评论 #30010051 未加载