-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
TYPE: bugSomething isn't workingSomething isn't working
Description
Which component is affected?
Qwik City (routing)
Describe the bug
I implemented this feature myself, turns out my type is too complex for typescript and not sure how to fix it.
My plan is to check this out later, I think it's connected with any
in zod
.
routeAction$
with complex zod ends up in the typescript message:
Type instantiation is excessively deep and possibly infinite.
See https://stackblitz.com/edit/qwik-starter-ps6npq?file=src%2Froutes%2Findex.tsx
Reproduction
https://stackblitz.com/edit/qwik-starter-ps6npq?file=src%2Froutes%2Findex.tsx
Steps to reproduce
No response
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 18.20.3 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.2.3 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
@builder.io/qwik: ^1.7.1 => 1.7.1
@builder.io/qwik-city: ^1.7.1 => 1.7.1
typescript: 5.3.3 => 5.3.3
undici: 5.28.2 => 5.28.2
vite: 4.5.2 => 4.5.2
Additional Information
No response
Metadata
Metadata
Assignees
Labels
TYPE: bugSomething isn't workingSomething isn't working