apollo-tooling
graphql-code-generator
Our great sponsors
apollo-tooling | graphql-code-generator | |
---|---|---|
8 | 69 | |
3,038 | 10,605 | |
-0.1% | - | |
0.6 | 9.3 | |
14 days ago | 4 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
apollo-tooling
-
apollo client codegen vs graphql cli codegen
Apollo is deprecating their tooling, best to go with GraphQL Code Generator.
-
Building a CSS tricks website clone with Webiny and NextJS
Alternatively, you can use Apollo GraphQL or any dependency of your choice to make API request.
-
The Stack #2
When you talk about GraphQL, one simply cannot forget GraphQL Tools irrespective of the architecture or stack you use. Initially developed by Apollo and then taken over by The Guild, GraphQL Tools provides you a very powerful set of utility functions to work with GraphQL which you can use in your services irrespective of whethere you are using something like Apollo Federation or Schema Stitching.
-
The Stack #3
The Apollo CLI when combined with Federation does come with a lot of helpers to take care of things like pushing the schema, listing the services in the studio, doing codegen and so on though I am not currently sure why they are rewriting it again to Rust apart from the reasons as suggested here.
-
What is the best database for synchronizing?
ApolloGraphql: https://apollographql.com
-
Using useSWR as an alternative to Subscriptions?
The tech stack I used for this site was: Prisma w/ GraphQL-Yoga / Apollo & GraphQL / Express / NextJS / MongoDB
-
Here's how to take a GraphQL schema and get typed queries & results out of the box
This is great, thanks. I'm wondering if you still need to explicitly reference types, such as with Apollo's codegen where you would do something like useQuery or is it fully automatic like in the gif in the article?
-
Step by step guide of how to painlessly type GraphQL execution result
https://github.com/apollographql/apollo-tooling#apollo-clientcodegen-output
graphql-code-generator
-
Integrating GraphQL Codegen with Storyblok: Step-by-Step Guide
The @graphql-codegen library is a bridge between your GraphQL schema and the actual code you write. It automates the generation of boilerplate code, ensuring that your data fetching layer is always up to date with your content structure.
-
The complete GraphQL Scalar Guide
In typescript and typescript-resolvers plugin v4.0.1, we have reverted the default ID Scalar input type to string. Read the pull request for more details.
-
Looking4Library: A GraphQL client that has query methods on the generated types
See https://github.com/dotansimha/graphql-code-generator with @graphql-codegen/typescript-graphql-request plugin
-
graphql-code-generator VS gqless - a user suggested alternative
2 projects | 2 Jun 2023
-
Making GraphQL Codegen Work For You: GraphQL Integration with React and TypeScript
Graphql Codegen is a code generation library for GraphQL that enables developers to generate custom code. It provides us developers with the ability to generate type definitions, query builders, documentation, and more by analyzing our GraphQL schemas. This makes it easier and faster to build GraphQL applications and reduces the time spent coding.
-
help wanted: Typescript GraphQL Types Response
It is already incoming, with an example in the repository. 😇 https://github.com/dotansimha/graphql-code-generator/pull/8863
-
Why does this package.json script for graphql-codegen only work if the package is installed directly in the package.sjon, even if it already exists in node_modules?
The actual package is @ graphql-codegen/cli
-
Why we ditched GraphQL for tRPC
GraphQL Codegen generates frontend types and React hooks from our GraphQL request definitions.
-
A journey towards a type-safe GraphQL API server
There are two main approaches to keeping the types of the GraphQL schema and entities in business logic in sync. You can generate the schema based on your TypeScript code (e.g. TypeGraphQL), or you can generate types based on your schema (e.g. GraphQL Code Generator). We opted for the latter since it slotted right into our existing GraphQL server implementation using Apollo Server.
-
Move to Hasura/GraphQL for db
For querying in React make sure you use GraphQL code generator https://www.the-guild.dev/graphql/codegen
What are some alternatives?
vscode-graphql - MIGRATED: VSCode GraphQL extension (autocompletion, go-to definition, syntax highlighting)
nexus - Code-First, Type-Safe, GraphQL Schema Construction
graphql-live-query - Realtime GraphQL Live Queries with JavaScript
contentful-typescript-codegen - Generate TypeScript interfaces from a Contentful environment
graphql-editor - 📺 Visual Editor & GraphQL IDE.
TypeGraphQL - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
jaeger - CNCF Jaeger, a Distributed Tracing Platform
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
rtk-query-codegen
graphql-subscriptions - :newspaper: A small module that implements GraphQL subscriptions for Node.js
lint-staged - 🚫💩 — Run linters on git staged files