graphql-code-generator - A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins

  •        147

GraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are developing a frontend or backend, you can utilize GraphQL Code Generator to generate output from your GraphQL Schema and GraphQL Documents (query/mutation/subscription/fragment). By analyzing the schema and documents and parsing it, GraphQL Code Generator can output code at a wide variety of formats, based on pre-defined templates or based on custom user-defined ones. Regardless of the language that you're using, GraphQL Code Generator got you covered.

https://graphql-code-generator.com
https://github.com/dotansimha/graphql-code-generator

Dependencies:

dotenv : 10.0.0
patch-package : 6.4.7

Tags
Implementation
License
Platform

   




Related Projects

graphqlgen - ⚙️ Generate type-safe resolvers based upon your GraphQL Schema

  •    TypeScript

graphqlgen has been officially deprecated in favor of the The Guild's project GraphQL Code Generator. Learn more about the collaboration of Prisma and the Guild in this blog post. Programming in type-safe environments can contribute toward great confidence in your code's integrity. graphqlgen aims to leverage the GraphQL type system to make your resolvers completely type-safe. This is important because resolvers are the heart of any graphql service and yet the hardest to statically type due to their dynaminism.

graphqlgen - ⚙️ Generate type-safe resolvers based upon your GraphQL Schema

  •    TypeScript

Programming in type-safe environments can contribute toward great confidence in your code's integrity. graphqlgen aims to leverage the GraphQL type system to make your resolvers completely type-safe. This is important because resolvers are the heart of any graphql service and yet the hardest to statically type due to their dynaminism. Edit ./my-app/src/schema.graphql to your heart's content.

type-graphql - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

  •    TypeScript

We all know that GraphQL is so great and solves many problems that we have with REST API, like overfetching and underfetching. But developing a GraphQL API in Node.js with TypeScript is sometimes a bit of pain. Why? Let's take a look at the steps we usually have to make. The biggest problem is the redundancy in our codebase, which makes it difficult to keep things in sync. To add a new field to our entity, we have to jump through all the files - modify an entity class, the schema, as well as the interface. The same goes with inputs or arguments. It's easy to forget to update one piece or make a mistake with a single type. Also, what if we've made a typo in field name? The rename feature (F2) won't work correctly.

apollo-codegen - :pencil2: Generate API code or type annotations based on a GraphQL schema and query documents

  •    TypeScript

This is a tool to generate API code or type annotations based on a GraphQL schema and query documents.It currently generates Swift code, TypeScript annotations, Flow annotations, and Scala code, we hope to add support for other targets in the future.

graphql-middleware - Split up your GraphQL resolvers in middleware functions

  •    TypeScript

Split up your GraphQL resolvers in middleware functions. GraphQL Middleware is a schema wrapper which allows you to manage additional functionality across multiple resolvers efficiently.


graphql-middleware - Split up your GraphQL resolvers in middleware functions

  •    TypeScript

Split up your GraphQL resolvers in middleware functions. GraphQL Middleware is a schema wrapper which allows you to manage additional functionality across multiple resolvers efficiently.

nexus - Code-First, Type-Safe, GraphQL Schema Construction

  •    TypeScript

Declarative, code-first and strongly typed GraphQL schema construction for TypeScript & JavaScript. Note you must also add graphql. Nexus pins to it as a peer dependency.

graphql-zeus - GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ⚡⚡⚡ for browser,nodejs and react native

  •    TypeScript

GraphQL Zeus creates autocomplete client library for JavaScript or TypeScript which provides autocompletion for strongly typed queries. Main usage of graphql zeus should be as a CLI.

nexus - GraphQL Nexus: Code-First, Type-Safe, GraphQL Schema Construction

  •    TypeScript

GraphQL Nexus is independent from Prisma. To learn how it can best be combined with Prisma, check out the nexus-prisma plugin. You can find the docs for GraphQL Nexus here.

graphql-auto-generating-cms - Use your existing graphQL schema to generate CMS in a couple steps

  •    Javascript

GraphQL CMS will build a fully-functional CMS by just using your printed GraphQL schema without any changes in your existed code or architecture.

graphql-binding - Auto-generated SDK for your GraphQL API (supports schema stitching & codegen)

  •    TypeScript

In the last few months, since the transition of many libraries under The Guild's leadership, We've reviewed and released many improvements and versions to graphql-cli, graphql-config and graphql-import. We've reviewed graphql-binding, had many meetings with current users and engaged the community also through the roadmap issue.

prisma-binding - GraphQL Binding for Prisma 1 (using GraphQL schema delegation)

  •    TypeScript

prisma-binding is a dedicated graphql-binding for Prisma 1 (based on GraphQL schema delegation). Note that Prisma 2.0 doesn't support Prisma binding. prisma-binding provides a convenience layer for building GraphQL servers on top of Prisma services. In short, it simplifies implementing your GraphQL resolvers by delegating execution of queries (or mutations) to the API of the underlying Prisma database service.

graphql-anywhere - :icecream: Run a GraphQL query anywhere, against any data, with no schema.

  •    TypeScript

Run a GraphQL query anywhere, without a GraphQL server or a schema. Just pass in one resolver. Use it together with graphql-tag.I think there are a lot of potentially exciting use cases for a completely standalone and schema-less GraphQL execution engine. We use it in Apollo Client to read data from a Redux store with GraphQL.

prisma-binding - GraphQL Binding for Prisma (using GraphQL schema delegation)

  •    TypeScript

Note: Unless you explicitly want to use schema delegation we recommend to use Prisma client to build a GraphQL server see tutorial. prisma-binding provides a convenience layer for building GraphQL servers on top of Prisma services. In short, it simplifies implementing your GraphQL resolvers by delegating execution of queries (or mutations) to the API of the underlying Prisma database service.

elm-graphql - GraphQL for Elm

  •    TypeScript

elm-graphql generates Elm code for making GraphQL queries in a type-safe manner.At compile time, elm-graphql takes GraphQL schema and named queries in a .graphql file and generates corresponding Elm types. The schema is obtained by introspection of a live GraphQL server.

graphql-editor - GraphQL Visual Node Editor

  •    TypeScript

GraphQLEditor makes it easier to understand GrapHQL schemas. Create a schema by joining visual blocks. GraphQLEditor will transform them into code. With GraphQLEditor you can create visual diagrams without writing any code.

mongo-graphql-starter - Turns MongoDB metadata into GraphQL schemas and resolvers, with queries and mutations

  •    Javascript

This utility will scaffold GraphQL schema and resolvers, with queries, filters and mutations working out of the box, based on metadata you enter about your Mongo db. The idea is to auto-generate the mundane, repetative boilerplate needed for a graphQL endpoint, then get out of your way, leaving you to code your odd or advanced edge cases as needed.

apollo-tooling - :pencil2: Tooling for development and production Apollo workflows

  •    TypeScript

Apollo CLI brings together your GraphQL clients and servers with tools for validating your schema, linting your operations for compatibility with your server, and generating static types for improved client-side type safety. Generate static types for GraphQL queries. Can use the published schema in Apollo Engine or a downloaded schema.

Searchkit - GraphQL API & React UI components for Elasticsearch.

  •    TypeScript

Searchkit is a tool allowing you can quickly build a search experience using predefined GraphQL resolvers and React components. Built on the top of Apollo GraphQL, React & Elasticsearch, Searchkit makes building a high-quality API a lot easier. The library provides GraphQL resolvers dedicated to handling the most common use cases you could think of when using filtering oriented API beginning with basic operations such as simple querying, ending on more tricky ones such as efficient facet filtering or pagination.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.