+
Skip to content

Missing zod peerDependencies again, causing type errors Type instantiation is excessively deep and possibly infinite #706

@kvnxiao

Description

@kvnxiao

With the newer versions of Slonik, because zod is not in peerDependencies anymore in package.json we are again experiencing the Type instantiation is excessively deep and possibly infinite issue due to schemas being out of sync with multiple versions of zod being installed by slonik and by our repo code.

We are trying to use zod version 3.25.76 as the release which contains the zod/v3 import (which we use in our own code). However, this is causing issues with the zod version of Slonik we are using (currently on v45 and have not upgraded to v48 yet).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载