Skip to content

bug: Typescript Error for Invoke Trigger with Zod schema  #727

@michalkow

Description

@michalkow

Provide environment information

System:
OS: macOS 11.7.5
CPU: (8) x64 Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz
Memory: 153.83 MB / 32.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 18.17.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 9.6.7 - /usr/local/bin/npm
Watchman: 2023.02.27.00 - /usr/local/bin/watchman

Describe the bug

TypeScript: Type instantiation is excessively deep and possibly infinite
Screenshot 2023-11-09 at 11 19 23

Reproduction repo

N/A

To reproduce

Create a new job with invokeTrigger and provide Zod schema to it

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions