{"id":20417079,"url":"https://github.com/0x77dev/prisma-datamodel-path","last_synced_at":"2025-05-08T14:32:44.891Z","repository":{"id":42569705,"uuid":"433095847","full_name":"0x77dev/prisma-datamodel-path","owner":"0x77dev","description":"In a monorepo environment, Prisma generates into the prisma folder at service root, but when the PrismaClient instance is created, it tries to read the schema file in random subdirectories.","archived":true,"fork":false,"pushed_at":"2023-03-06T19:41:36.000Z","size":679,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T03:44:42.017Z","etag":null,"topics":["bug","prisma","reproduce"],"latest_commit_sha":null,"homepage":"https://github.com/prisma/prisma/issues/10512","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/0x77dev.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":"2021-11-29T15:27:16.000Z","updated_at":"2024-06-04T16:04:48.000Z","dependencies_parsed_at":"2024-11-17T22:46:05.769Z","dependency_job_id":"9ecb67d8-ce2a-4002-974c-52c975779ad5","html_url":"https://github.com/0x77dev/prisma-datamodel-path","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/0x77dev%2Fprisma-datamodel-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x77dev%2Fprisma-datamodel-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x77dev%2Fprisma-datamodel-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x77dev%2Fprisma-datamodel-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x77dev","download_url":"https://codeload.github.com/0x77dev/prisma-datamodel-path/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253085705,"owners_count":21851684,"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":["bug","prisma","reproduce"],"created_at":"2024-11-15T06:24:26.361Z","updated_at":"2025-05-08T14:32:44.454Z","avatar_url":"https://github.com/0x77dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prisma Client datamodel path (\"schema.prisma\") issue\n\nIn a monorepo environment, Prisma generates into the `prisma` folder at service root, but when the `PrismaClient` instance is created, it tries to read the schema file in random subdirectories.\n\nThat happened after upgrading Prisma to `3.x`.\n\n## How to reproduce\n```shell\nyarn install\nyarn reproduce\n```\n\n[Related Issue](https://github.com/prisma/prisma/issues/10512)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x77dev%2Fprisma-datamodel-path","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x77dev%2Fprisma-datamodel-path","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x77dev%2Fprisma-datamodel-path/lists"}