Skip to content

feat: add generators for missing types and cli option to fail on errors#166

Merged
tazo90 merged 9 commits into
tazo90:mainfrom
martijn00:type-fixes
Jul 11, 2026
Merged

feat: add generators for missing types and cli option to fail on errors#166
tazo90 merged 9 commits into
tazo90:mainfrom
martijn00:type-fixes

Conversation

@martijn00

Copy link
Copy Markdown
Contributor

Pull Request

Description

Type of Change

  • feat: New feature
  • fix: Bug fix
  • 📝 docs: Documentation update
  • ♻️ refactor: Code refactoring
  • perf: Performance improvement
  • 💥 Breaking change (add ! after type, e.g., feat!:)

Checklist

  • pnpm check passes
  • Tested locally (pnpm test and pnpm build when relevant)
  • Documentation updated (if needed)

⚠️ PR Title Format Required

Your PR title must follow Conventional Commits:

✅ Good Examples

feat: add support for multiple schema types
fix: resolve path parameter detection issue
docs: update configuration examples

❌ Bad Examples

Added feature
Fixed bug
Update README

Why? We use squash merge - your PR title becomes the commit message and is used for:

  • 📊 Auto-generating changelogs
  • 🏷️ Version bumping (feat: = minor, fix: = patch)
  • 📖 Clean git history

See CONTRIBUTING.md for details.


Thanks for contributing! 🚀

martijn00 and others added 3 commits July 5, 2026 23:10
…ndler inference

Stop eagerly emitting z.infer aliases during preprocess and apply alias components on
cache hits. Reuse shared handler insights in the app router so coverage and redirect
inference stay correct.

Co-authored-by: Cursor <cursoragent@cursor.com>
@tazo90

tazo90 commented Jul 6, 2026

Copy link
Copy Markdown
Owner

@martijn00 really appreciate the heavy lifting here! 👍

Could we split this into smaller incremental PRs? It'd make isolating the test regressions and reviewing much smoother.

Thanks a lot! 😉

@martijn00

Copy link
Copy Markdown
Contributor Author

I understand it is easier in smaller PRs, but I've just quickly fixed the issues I found in my own projects here. It should be fine because it is covered by tests. I added a lot more tests even.

It seems like a lot of changes but most of these are test samples for the projects.

@tazo90

tazo90 commented Jul 6, 2026

Copy link
Copy Markdown
Owner

@martijn00 makes sense, thanks for the clarification!
I'll take a proper look at the changes with a fresh pair of eyes tomorrow.

Appreciate the quick reply.

Use organizationId and projectId in scale fixture detail routes so Next.js
app-router sample apps no longer conflict at build time, and declare zod in
scalar/swagger apps to satisfy knip.

Co-authored-by: Cursor <cursoragent@cursor.com>

@tazo90 tazo90 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @martijn00! 🙏

I finally had some time today to go through the changes. Overall, really nice work - especially the runtime cache, handler insights, and the Zod runtime exporter. I just have two merge blockers before we can land it:

  1. E2E next-app-drizzle-zod fails on typecheck. The committed apps/next-app-drizzle-zod/src/schemas/generated/ files break because the app is pinned to Zod 3 while drizzle-zod@0.8.3 generates Zod 4 schemas. Per the repo convention, generated app schemas shouldn't be committed? Would it make sense to gitignore this directory? That should fix the E2E.

  2. schema-full-coverage.test.ts times out in CI (5s). It probably just needs a slightly higher test timeout, either for this test or the integration suite.

@martijn00

Copy link
Copy Markdown
Contributor Author

@tazo90 i've done a fix. Let me know if there is anything else

@martijn00

Copy link
Copy Markdown
Contributor Author

Also fixed #167

@tazo90 tazo90 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@martijn00 sorry for the hold-up, I just wanted to be 100% sure this was ready to merge. Massive thanks for the heavy lifting on this PR. I deeply appreciate the time and hard work you poured into it. Amazing contribution! 🚀 🙏

Thank you very much for fixing #167 👍

@tazo90
tazo90 merged commit 153da36 into tazo90:main Jul 11, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants