{"id":15570567,"url":"https://github.com/erictaylor/graphql-codegen-schema-ast","last_synced_at":"2026-05-06T07:31:36.081Z","repository":{"id":57111921,"uuid":"376427905","full_name":"erictaylor/graphql-codegen-schema-ast","owner":"erictaylor","description":"GraphQL Code Generator plugin for generating a .graphql file from given schema with more options.","archived":false,"fork":false,"pushed_at":"2021-06-13T04:19:56.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-03T18:09:32.321Z","etag":null,"topics":["codegen","graphql","graphql-codegen","schema-ast"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erictaylor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-13T03:22:55.000Z","updated_at":"2021-10-29T09:46:39.000Z","dependencies_parsed_at":"2022-08-21T10:31:01.247Z","dependency_job_id":null,"html_url":"https://github.com/erictaylor/graphql-codegen-schema-ast","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erictaylor%2Fgraphql-codegen-schema-ast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erictaylor%2Fgraphql-codegen-schema-ast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erictaylor%2Fgraphql-codegen-schema-ast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erictaylor%2Fgraphql-codegen-schema-ast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erictaylor","download_url":"https://codeload.github.com/erictaylor/graphql-codegen-schema-ast/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145087,"owners_count":20730495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codegen","graphql","graphql-codegen","schema-ast"],"created_at":"2024-10-02T17:42:56.492Z","updated_at":"2026-05-06T07:31:35.997Z","avatar_url":"https://github.com/erictaylor.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a plugin for `@graphql-codegen/cli` that works like `@graphql-codegen/ast` but will more options.\n\n## Installation\n\n```\nyarn add -D @erictaylor/graphql-codegen-schema-ast\n```\n\n## API Reference\n\n#### `includeDirectives`\n\ntype: `boolean` default: `false`\n\nInclude directives to Schema output.\n\n#### `includeIntrospection`\n\ntype: `boolean` default: `false`\n\nInclude introspection types to Schema output.\n\n#### `commentDescriptions`\n\ntype: `boolean` default: `false`\n\nSet to true in order to print description as comments (using # instead of \"\"\")\n\n#### `sort`\n\ntype: `boolean` default: `false`\n\nSet to true in order to get the schema lexicographically sorted before printed.\n\n#### `federation`\n\ntype: `boolean`\n\n## Usage\n\n```yml\nschema:\n  - \"./src/schema.graphql\"\ngenerates:\n  path/to/file.graphql:\n    plugins:\n      - \"@erictaylor/graphql-codegen-schema-ast\"\n    config:\n      includeDirectives: true\n      includeIntrospection: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferictaylor%2Fgraphql-codegen-schema-ast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferictaylor%2Fgraphql-codegen-schema-ast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferictaylor%2Fgraphql-codegen-schema-ast/lists"}