drizzle-team / drizzle-team/drizzle-orm

[BUG]: Package mismatch drizzle-graphql

Open
#5,700 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Report hasn't been filed before.

- [x] I have verified that the bug I'm about to report hasn't been filed before.

### What version of `drizzle-orm` are you using?

1.0.0-beta.23

### What version of `drizzle-kit` are you using?

1.0.0-beta.23

### Other packages

drizzle-graphql

### Describe the Bug

The packages doesn't have the same api and have a mismatch between the apis I know is the beta but the drizzle-graphql doesn't have beta yet

./node_modules/.pnpm/drizzle-graphql@0.8.5_drizzle-orm@1.0.0-beta.23_@neondatabase+serverless@1.0.2_@opentel_665a7b1e43bfe5665b2c38368af0b260/node_modules/drizzle-graphql/index.js:1475:1
Export createTableRelationsHelpers doesn't exist in target module
1473 | ...
1474 | ...
> 1475 | ...createTableRelationsHelpers3, is as is5, Relati...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1476 | .../sqlite-core";
1477 | ...
1478 | ...

The export createTableRelationsHelpers was not found in module [project]/node_modules/.pnpm/drizzle-orm@1.0.0-beta.23_@neondatabase+serverless@1.0.2_@opentelemetry+api@1.9.0_@type_7fcc5c340a6ecd46f5768d9f271b9b9d/node_modules/drizzle-orm/index.js [app-route] (ecmascript).
Did you mean to import createRelationsHelper?
All exports of the module are statically known (It doesn't have dynamic exports). So it's known statically that the requested export doesn't exist.

Contributor guide

Open the contributing guide

Research direction

Compare drizzle-graphql@0.8.5 with drizzle-orm@1.0.0-beta.23, starting at the reported node_modules/drizzle-graphql/index.js export and the drizzle-orm module exports. Confirm which package versions are compatible and verify that the missing createTableRelationsHelpers export error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.