-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Next.js app dir examples and fix some typing #341
Conversation
|
## Summary <!-- Succinctly describe your change, providing context, what you've changed, and why. --> Fixes #340, ensuring the return type of `"inngest/next"`'s `serve()` is correctly inferred. Fuller integration tests for the app router will come in #341. ## Checklist <!-- Tick these items off as you progress. --> <!-- If an item isn't applicable, ideally please strikeout the item by wrapping it in "~~"" and suffix it with "N/A My reason for skipping this." --> <!-- e.g. "- [ ] ~~Added tests~~ N/A Only touches docs" --> - [ ] ~~Added a [docs PR](https://github.com/inngest/website) that references this PR~~ N/A - [ ] ~~Added unit/integration tests~~ N/A #341 - [x] Added changesets if applicable ## Related <!-- A space for any related links, issues, or PRs. --> <!-- Linear issues are autolinked. --> <!-- e.g. - INN-123 --> <!-- GitHub issues/PRs can be linked using shorthand. --> <!-- e.g. "- inngest/inngest#123" --> <!-- Feel free to remove this section if there are no applicable related links.--> - Fixes #340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far
Summary
Also adds two new examples:
framework-nextjs-pages-router
framework-nextjs-app-router
These examples replace the existing
framework-nextjs
example, as it's exactly the same as the new pages router.Checklist
Added a docs PR that references this PRN/AAdded changesets if applicableN/AREADME.md
files for examples to be in-line with others