{"id":16309713,"url":"https://github.com/pytal/graphql-codegen-join-documents","last_synced_at":"2026-05-01T13:32:24.371Z","repository":{"id":43334273,"uuid":"268335716","full_name":"Pytal/graphql-codegen-join-documents","owner":"Pytal","description":"Join GraphQL queries/mutations/subscriptions","archived":false,"fork":false,"pushed_at":"2022-03-07T17:29:54.000Z","size":10,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T19:45:58.595Z","etag":null,"topics":["code-generator","codegen","graphql"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Pytal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-31T18:05:18.000Z","updated_at":"2021-11-15T09:58:41.000Z","dependencies_parsed_at":"2022-09-17T14:12:09.968Z","dependency_job_id":null,"html_url":"https://github.com/Pytal/graphql-codegen-join-documents","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytal%2Fgraphql-codegen-join-documents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytal%2Fgraphql-codegen-join-documents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytal%2Fgraphql-codegen-join-documents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytal%2Fgraphql-codegen-join-documents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pytal","download_url":"https://codeload.github.com/Pytal/graphql-codegen-join-documents/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157047,"owners_count":20893202,"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":["code-generator","codegen","graphql"],"created_at":"2024-10-10T21:22:19.974Z","updated_at":"2026-05-01T13:32:24.328Z","avatar_url":"https://github.com/Pytal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graphql-codegen-join-documents\nA plugin for [GraphQL Code Generator](https://graphql-code-generator.com/docs/getting-started/index) to join multiple GraphQL queries/mutations/subscriptions together into a single file, useful for allowing only a subset of queries to be executed with the [Allow-list](https://hasura.io/docs/1.0/graphql/manual/deployment/allow-list.html) feature of [Hasura GraphQL-Engine](https://github.com/hasura/graphql-engine)\n\n## Installation\n``` bash\nnpm add -D graphql-codegen-join-documents\n```\n\n## Usage\nEnter the following into `codegen.yaml`:\n``` yaml\nschema: schema.graphql\ndocuments: src/**/*.gql\n\ngenerates:\n  queries.gql:\n    plugins:\n      - graphql-codegen-join-documents\n```\n\nRun codegen:\n``` bash\nnpx graphql-codegen\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytal%2Fgraphql-codegen-join-documents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytal%2Fgraphql-codegen-join-documents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytal%2Fgraphql-codegen-join-documents/lists"}