{"id":15984650,"url":"https://github.com/aappddeevv/graphql-codegen-scala","last_synced_at":"2025-03-18T00:31:29.470Z","repository":{"id":47358407,"uuid":"247364383","full_name":"aappddeevv/graphql-codegen-scala","owner":"aappddeevv","description":"Scala code generator plugin for @graphql-codegen","archived":false,"fork":false,"pushed_at":"2023-03-02T21:26:07.000Z","size":1223,"stargazers_count":6,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T08:11:15.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/aappddeevv.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-14T22:41:24.000Z","updated_at":"2022-03-12T03:06:53.000Z","dependencies_parsed_at":"2024-10-18T20:03:51.004Z","dependency_job_id":"0c347fb9-4d8e-43e5-81df-95061533fecf","html_url":"https://github.com/aappddeevv/graphql-codegen-scala","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"1d7ae188cc523f3547d93970686cf30df8084221"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aappddeevv%2Fgraphql-codegen-scala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aappddeevv%2Fgraphql-codegen-scala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aappddeevv%2Fgraphql-codegen-scala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aappddeevv%2Fgraphql-codegen-scala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aappddeevv","download_url":"https://codeload.github.com/aappddeevv/graphql-codegen-scala/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814880,"owners_count":20352037,"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":[],"created_at":"2024-10-08T02:09:59.630Z","updated_at":"2025-03-18T00:31:29.114Z","avatar_url":"https://github.com/aappddeevv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub version](https://badge.fury.io/gh/aappddeevv%2Fgraphql-codegen-scala.svg)](https://badge.fury.io/gh/aappddeevv%2Fgraphql-codegen-scala)\n\n# scala.js suppport for @graphql-codegen\n\n[@graphql-codgen](https://graphql-code-generator.com) is a plugin driven ecosystem\nof graphql code generators. It differs from the code generators included in the\n[apollo](https://www.apollographql.com/) platform.\n\nThese packages take a schema first approach versus a code first approach like\n[caliban](https://ghostdogpr.github.io/caliban). There are multiple code generators depending on what you want to generate.\n\n- @aappddeevv/graphql-codegen-scala-operations: Generate \"client\" operation code.\n- @aappddeevv/graphql-codegen-scala-schema: Generate schema type code typically for the \"server.\"\n  - Prototype only.\n\nYou use the plugins like any other for @graphql-codgen so please see the instructions\nfor that project.\n\nThe code generators create scala code that uses only basic scala.js constructs so there are\nno additional libraries to import. The generated code uses `js.Array`, `js.UndefOr`, and `T | Null`\nto translate graphql language constructs to scala.js code. You will probably want to use\nimplicit conversions to help manage the data wrangling for your code.\n\nThis is a new project and the graphql spec is not fully supported. The current focus is\non generating operations for the client with the target being the apollo graphql client\nalthough there is nothing specific to apollo in the generated code.\n\nThere is a package called `@aappddeevv/graphql-codegen-scala` on npm. Ignore it and\nuse the npm packages listed above using the registry option listed below.\n\n# Install\n\nThe npm packages are currently published to bintray. To install use:\n\n- `npm install \u003cPACKAGE_NAME\u003e --registry https://dl.bintray.com/npm/aappddeevv/npm`\n\nSo:\n\n```sh\nnpm install -D @graphql-codegen/visitor-plugin-common\nnpm install -D @aappddeevvv/graphql-codegen-scala-operations --registry https://dl.bintray.com/npm/aappddeevv/npm --registry https://registry.npmjs.org\nnpm install -D @aappddeevvv/graphql-codegen-scala-schema --registry https://dl.bintray.com/npm/aappddeevv/npm --registry https://registry.npmjs.org\n```\n\n# Options\n\nEach plugin has a few options. Please see those READMEs for details.\n\n# License\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?maxAge=2592000)](https://raw.githubusercontent.com/aappddeevv/graphql-codegen-scala/master/LICENSE)\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faappddeevv%2Fgraphql-codegen-scala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faappddeevv%2Fgraphql-codegen-scala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faappddeevv%2Fgraphql-codegen-scala/lists"}