Skip to content

[BUG]:drizzle-zod not working with pgSchema #1458

Closed
@KMJ-007

Description

What version of drizzle-orm are you using?

^0.28.6

What version of drizzle-kit are you using?

not using at the moment

Describe the Bug

when trying the pgSchema with drizzle-zod it is not working, works fine when using pgTable

gives the following error:

can't use the schema before initialization

Expected behavior

it should work with pgSchema also, as drizzel supports it!

i checked the code and test in the drizzel-zod there was no test or any mention about pgSchema

Environment & setup

node 20
mac os 14.0

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions