René's URL Explorer Experiment


Title: [TRI-1230] TypeScript "Type instantiation is excessively deep and possibly infinite.ts(2589)" error when using eventTrigger w/zod schema (different Zod versions) · Issue #436 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: [TRI-1230] TypeScript "Type instantiation is excessively deep and possibly infinite.ts(2589)" error when using eventTrigger w/zod schema (different Zod versions) · Issue #436 · triggerdotdev/trigger.dev

X Title: [TRI-1230] TypeScript "Type instantiation is excessively deep and possibly infinite.ts(2589)" error when using eventTrigger w/zod schema (different Zod versions) · Issue #436 · triggerdotdev/trigger.dev

Description: When using the eventTrigger with zod to define the event schema TypeScript gives this error: This only seems to be happening in Next.js projects created with create-t3-app. I've reproduced it here: https://github.com/ericallam/t3-trigger...

Open Graph Description: When using the eventTrigger with zod to define the event schema TypeScript gives this error: This only seems to be happening in Next.js projects created with create-t3-app. I've reproduced it here:...

X Description: When using the eventTrigger with zod to define the event schema TypeScript gives this error: This only seems to be happening in Next.js projects created with create-t3-app. I've reproduced it h...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/436

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[TRI-1230] TypeScript \"Type instantiation is excessively deep and possibly infinite.ts(2589)\" error when using eventTrigger w/zod schema (different Zod versions)","articleBody":"When using the `eventTrigger` with zod to define the event schema TypeScript gives this error:\n\n![](https://uploads.linear.app/80a884b1-f84c-49d6-91db-07a391663d20/4bca3b0b-e32b-420d-8198-f5f3e52d8733/66f377c7-1a97-42ec-b5ad-8b4c4974672c?signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXRoIjoiLzgwYTg4NGIxLWY4NGMtNDlkNi05MWRiLTA3YTM5MTY2M2QyMC80YmNhM2IwYi1lMzJiLTQyMGQtODE5OC1mNWYzZTUyZDg3MzMvNjZmMzc3YzctMWE5Ny00MmVjLWI1YWQtOGI0YzQ5NzQ2NzJjIiwiaWF0IjoxNjkzOTMzMjU5LCJleHAiOjE2OTQwMTk2NTl9.f8-Cl_2WEvsRxv1wuGksLGbbDnPNRK2uvoC2R60AYSE)\n\nThis only seems to be happening in Next.js projects created with `create-t3-app`. I've reproduced it here:\n\n[https://github.com/ericallam/t3-trigger-app/blob/bbade197052ae5d790c7b46509628a5c8d57ba94/src/jobs/examples.ts#L19](https://github.com/ericallam/t3-trigger-app/blob/bbade197052ae5d790c7b46509628a5c8d57ba94/src/jobs/examples.ts#L19)\n\nWe need to track down the issue and figure out how to fix it (or provide a workaround for t3-app)\n\n\u003csub>From [SyncLinear.com](https://synclinear.com) | [TRI-1230](https://linear.app/triggerdotdev/issue/TRI-1230/typescript-possibly-infinite-error-when-using-eventtrigger-wzod-schema)\u003c/sub>","author":{"url":"https://github.com/ericallam","@type":"Person","name":"ericallam"},"datePublished":"2023-09-05T17:00:46Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/436"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4ab921d5-5806-5820-362c-88ce4147ccd9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA21C:163D8C:2C061E:420E99:6AFADE70
html-safe-noncede2e0cb0a4227ec65700df9999042fe9727b8f08ccbe42e1261ee25802c882a0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjFDOjE2M0Q4QzoyQzA2MUU6NDIwRTk5OjZBRkFERTcwIiwidmlzaXRvcl9pZCI6IjQ0Nzg4MDE5ODY5NDE4MDQxNDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac89cd680db2ddf0c84cb4c5de0110de330b2f123e45e0992d53db8db93747cdc0
hovercard-subject-tagissue:1882401344
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/436/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fd165b0dfd3bd971826ed21046bb95bac56c499728603645518fa49f10dcf2e1/triggerdotdev/trigger.dev/issues/436
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fd165b0dfd3bd971826ed21046bb95bac56c499728603645518fa49f10dcf2e1/triggerdotdev/trigger.dev/issues/436
og:image:altWhen using the eventTrigger with zod to define the event schema TypeScript gives this error: This only seems to be happening in Next.js projects created with create-t3-app. I've reproduced it here:...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericallam
hostnamegithub.com
expected-hostnamegithub.com
None9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2
turbo-cache-controlno-preview
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a7ae932999cc6d511008dbf980ff9efad2a31f7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/issues/436#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F436
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F436
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/436
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/436
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/436
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests66 (66)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
https://github.com/triggerdotdev/trigger.dev
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/436
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/436
[TRI-1230] TypeScript "Type instantiation is excessively deep and possibly infinite.ts(2589)" error when using eventTrigger w/zod schema (different Zod versions)https://github.com/triggerdotdev/trigger.dev/issues/436#top
area/integrationshttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22area%2Fintegrations%22
area/serverIssues related to the Trigger.dev serverhttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22area%2Fserver%22
bugSomething isn't workinghttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22bug%22
💎 Bountyhttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22%F0%9F%92%8E%20Bounty%22
https://github.com/ericallam
ericallamhttps://github.com/ericallam
on Sep 5, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issue-1882401344
https://camo.githubusercontent.com/955aeb4bfb6d89609eb64bdf26ce5a8d87e3f40dadad7ab87541f891d7fa88f5/68747470733a2f2f75706c6f6164732e6c696e6561722e6170702f38306138383462312d663834632d343964362d393164622d3037613339313636336432302f34626361336230622d653332622d343230642d383139382d6635663365353264383733332f36366633373763372d316139372d343265632d623561642d3862346334393734363732633f7369676e61747572653d65794a68624763694f694a49557a49314e694973496e523563434936496b705856434a392e65794a775958526f496a6f694c7a6777595467344e4749784c5759344e474d744e446c6b4e6930354d5752694c54413359544d354d5459324d3251794d433830596d4e684d3249775969316c4d7a4a694c5451794d4751744f4445354f43316d4e57597a5a5455795a4467334d7a4d764e6a5a6d4d7a6333597a63744d5745354e7930304d6d566a4c574931595751744f474930597a51354e7a51324e7a4a6a4969776961574630496a6f784e6a6b7a4f544d7a4d6a55354c434a6c654841694f6a45324f5451774d546b324e546c392e66382d436c5f3257457673527876317775476b734c476262446e504e524b3275766f433252363041595345
https://github.com/ericallam/t3-trigger-app/blob/bbade197052ae5d790c7b46509628a5c8d57ba94/src/jobs/examples.ts#L19https://github.com/ericallam/t3-trigger-app/blob/bbade197052ae5d790c7b46509628a5c8d57ba94/src/jobs/examples.ts#L19
SyncLinear.comhttps://synclinear.com
TRI-1230https://linear.app/triggerdotdev/issue/TRI-1230/typescript-possibly-infinite-error-when-using-eventtrigger-wzod-schema
bugSomething isn't workinghttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22bug%22
on Sep 5, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#event-10286034763
area/integrationshttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22area%2Fintegrations%22
on Sep 5, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#event-10286034770
area/serverIssues related to the Trigger.dev serverhttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22area%2Fserver%22
on Sep 5, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#event-10286034774
ericallamhttps://github.com/ericallam
on Sep 5, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#event-10286035203
https://github.com/ericallam
ericallamhttps://github.com/ericallam
on Sep 5, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issuecomment-1706984365
https://github.com/apps/algora-pbc
algora-pbchttps://github.com/apps/algora-pbc
on Sep 5, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issuecomment-1706984435
receive payoutshttps://docs.algora.io/bounties/payments#country-support
algora-pbchttps://github.com/apps/algora-pbc
💎 Bountyhttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22%F0%9F%92%8E%20Bounty%22
on Sep 5, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#event-10286036759
https://github.com/Chigala
Chigalahttps://github.com/Chigala
on Sep 5, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issuecomment-1706985778
#436https://github.com/triggerdotdev/trigger.dev/issues/436
Cancel my attempt https://console.algora.io/api/bounties/clm6k4om60003ml0fi46o27in/cancel-attempt
https://github.com/apps/algora-pbc
algora-pbchttps://github.com/apps/algora-pbc
on Sep 5, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issuecomment-1707158354
@Chigalahttps://github.com/Chigala
#436https://github.com/triggerdotdev/trigger.dev/issues/436
@Chigalahttps://github.com/Chigala
@Chigalahttps://github.com/Chigala
https://github.com/apps/algora-pbc
algora-pbchttps://github.com/apps/algora-pbc
on Sep 12, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issuecomment-1716110603
@Chigalahttps://github.com/Chigala
https://github.com/apps/algora-pbc
algora-pbchttps://github.com/apps/algora-pbc
on Sep 12, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issuecomment-1716256542
@ayusham001https://github.com/ayusham001
matt-aitkenhttps://github.com/matt-aitken
on Sep 18, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#event-10397178234
matt-aitkenhttps://github.com/matt-aitken
on Sep 18, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#event-10397189494
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
on Sep 18, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issuecomment-1723291326
https://github.com/ericallam
ericallamhttps://github.com/ericallam
on Sep 18, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issuecomment-1723324355
https://github.com/apps/algora-pbc
algora-pbchttps://github.com/apps/algora-pbc
on Sep 19, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issuecomment-1726311478
https://github.com/nicktrn
nicktrnhttps://github.com/nicktrn
on Nov 1, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#issuecomment-1789241044
#500https://github.com/triggerdotdev/trigger.dev/pull/500
nicktrnhttps://github.com/nicktrn
completedhttps://github.com/triggerdotdev/trigger.dev/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 1, 2023https://github.com/triggerdotdev/trigger.dev/issues/436#event-10834269983
Sign up for freehttps://github.com/signup?return_to=https://github.com/triggerdotdev/trigger.dev/issues/436
Sign in to commenthttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/436
area/integrationshttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22area%2Fintegrations%22
area/serverIssues related to the Trigger.dev serverhttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22area%2Fserver%22
bugSomething isn't workinghttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22bug%22
💎 Bountyhttps://github.com/triggerdotdev/trigger.dev/issues?q=state%3Aopen%20label%3A%22%F0%9F%92%8E%20Bounty%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.