Skip to content

Cannot use drizzle-typebox Types for Schema #1688

@huankong233

Description

@huankong233

What version of Elysia is running?

1.4.22

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What environment are you using

bun 1.3.5

Are you using dynamic mode?

No

What steps can reproduce the bug?

  1. git clone https://github.com/HkList/vue-elysia/tree/drizzle-typebox
  2. code vue-elysia
  3. rm -rf bun.lock ./node_modules ./apps/backend/node_modules
  4. bun install
  5. Open the /apps/backend/src/modules/user/model.ts then you can see the ts errors
Image

What is the expected behavior?

Elysia schema working fine with drizzle-typebox

What do you see instead?

Missing [Kind] in TypeObject and so more

Additional information

I have read all the issues about this and remove the node_modules and bun.lock many times.
But it did't work.

Have you try removing the node_modules and bun.lockb and try again yet?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions