Skip to content

[BUG]: The inferred type of X cannot be named without a reference to ../../../../../node_modules/drizzle-zod/schema.types.internal.mjs #3732

Closed
@thedevdavid

Description

Report hasn't been filed before.

  • I have verified that the bug I'm about to report hasn't been filed before.

What version of drizzle-orm are you using?

0.38.0

What version of drizzle-kit are you using?

0.30.0

Other packages

drizzle-zod@0.6.0

Describe the Bug

Since the latest update, all previously working drizzle-zod functions show a type error.

The inferred type of updateUserProfileSchema cannot be named without a reference to ../../../../../node_modules/drizzle-zod/schema.types.internal.mjs

image image

Node.js v22.10.0
Bun v1.1.38
Turborepo v2.3.3

Workaround is disabling declaration and declarationMap in tsconfig.json:

"declaration": false,
 "declarationMap": false

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug/cant-reproduceLack steps to fully reproduce. A repository for reproduction may be necessarydrizzle/zodpriorityWill be worked on next

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions