{"id":26820139,"url":"https://github.com/lucasrivoiro/prisma-generator-typegraphql","last_synced_at":"2026-02-16T06:35:36.328Z","repository":{"id":285167015,"uuid":"956660025","full_name":"lucasrivoiro/prisma-generator-typegraphql","owner":"lucasrivoiro","description":"Prisma generator to emit TypeGraphQL types and CRUD resolvers from your Prisma schema","archived":false,"fork":false,"pushed_at":"2025-12-19T20:44:10.000Z","size":6163,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-22T07:27:16.253Z","etag":null,"topics":["generator","graphql","prisma","typegraphql","typescript"],"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/lucasrivoiro.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,"zenodo":null}},"created_at":"2025-03-28T16:25:37.000Z","updated_at":"2025-12-19T20:40:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"e71e266d-73cb-4ed9-b777-4e5102ab9085","html_url":"https://github.com/lucasrivoiro/prisma-generator-typegraphql","commit_stats":null,"previous_names":["lucasrivoiro/prisma-generator-typegraphql"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lucasrivoiro/prisma-generator-typegraphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasrivoiro%2Fprisma-generator-typegraphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasrivoiro%2Fprisma-generator-typegraphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasrivoiro%2Fprisma-generator-typegraphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasrivoiro%2Fprisma-generator-typegraphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasrivoiro","download_url":"https://codeload.github.com/lucasrivoiro/prisma-generator-typegraphql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasrivoiro%2Fprisma-generator-typegraphql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29501919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T05:57:17.024Z","status":"ssl_error","status_checked_at":"2026-02-16T05:56:49.929Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["generator","graphql","prisma","typegraphql","typescript"],"created_at":"2025-03-30T06:20:27.228Z","updated_at":"2026-02-16T06:35:36.322Z","avatar_url":"https://github.com/lucasrivoiro.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![integration logo](https://raw.githubusercontent.com/MichalLytek/typegraphql-prisma/main/img/integration.png)\n\n# TypeGraphQL \u0026 Prisma integration\n\n🌐 *Read in other languages: [Português](README.pt-BR.md) | [Español](README.es.md)*\n\nPrisma generator to emit TypeGraphQL types and CRUD resolvers from your Prisma schema. This project is a copy of [**typegraphql-prisma**](https://github.com/MichalLytek/typegraphql-prisma), and I intend to keep it updated, implementing new features as Prisma is updated.\n\n## ✅ Prisma 7 Support\n\nThis library now fully supports **Prisma 7**, including all breaking changes and new features. All tests are passing and the generator is production-ready.\n\n\u003e ⚠️ **MongoDB Notice:** Prisma 7 does not yet support MongoDB. If you are using MongoDB, please use version `0.1.0` of this library with Prisma 6.19 until MongoDB support is added to Prisma 7.\n\n### Version compatibility:\n\n| Library Version | Prisma Version | MongoDB Support |\n|-----------------|----------------|-----------------|\n| `1.0.0`         | Prisma 7.x     | ❌ Not yet       |\n| `0.1.0`         | Prisma 5.18.0+ / 6.x | ✅ Yes     |\n\n\u003e ⚠️ **Important:** If you are using Prisma 5 or 6, install version `0.1.0`. Version `1.0.0` is only compatible with Prisma 7.\n\nFeel free to send PRs with improvements and new features. Let's keep this lib together!\n\n[**https://prisma.typegraphql.com**](https://prisma.typegraphql.com)\n\n## Documentation\n\nThe documentation, installation guide, detailed description of the API and all of its features is [available on the original website](https://prisma.typegraphql.com). In the future, I will be implementing a dedicated website for this lib's documentation.\n\n## Examples\n\n\u003e ⚠️ **Note:** The examples have not yet been migrated to Prisma 7. They still use the previous version of the library. Migration is in progress.\n\nYou can check out some usage examples on this repo:\n\nhttps://github.com/lucasrivoiro/prisma-generator-typegraphql/tree/main/examples/Readme.md\n\n## Experiments\n\nThe `experiments` folder contains ready-to-run projects for testing the generator with different databases. These are useful for development and testing purposes.\n\n### PostgreSQL Experiment\n\nA complete setup with PostgreSQL database using Docker.\n\n**Setup:**\n\n```bash\ncd experiments/postgres\n\n# Install dependencies\nnpm install\n\n# Start PostgreSQL container\ndocker compose up -d\n\n# Run migrations\nnpx prisma migrate deploy\n\n# Seed the database\nnpx prisma db seed\n\n# Start the GraphQL server\nnpm run start\n```\n\nThe server will be available at http://localhost:4000/graphql\n\n**Requirements:**\n- Docker and Docker Compose\n- Node.js 20.19.0+\n\n### MongoDB Experiment\n\n\u003e ⚠️ **Note:** MongoDB is not yet supported in Prisma 7. This experiment requires Prisma 6.19 or earlier.\n\nA setup for MongoDB database using Docker.\n\n**Setup:**\n\n```bash\ncd experiments/mongodb\n\n# Install dependencies\nnpm install\n\n# Start MongoDB container\ndocker compose up -d\n\n# Push schema to database\nnpx prisma db push\n\n# Seed the database\nnpx prisma db seed\n\n# Start the GraphQL server\nnpm run start\n```\n\nThe server will be available at http://localhost:4000/graphql\n\n**Requirements:**\n- Docker and Docker Compose\n- Node.js 20.19.0+\n- Prisma 6.19 (MongoDB not supported in Prisma 7 yet)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasrivoiro%2Fprisma-generator-typegraphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasrivoiro%2Fprisma-generator-typegraphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasrivoiro%2Fprisma-generator-typegraphql/lists"}