Skip to content
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

Move routes to app router route handlers #2096

Open
perkinsjr opened this issue Sep 16, 2024 · 2 comments
Open

Move routes to app router route handlers #2096

perkinsjr opened this issue Sep 16, 2024 · 2 comments
Labels
Core Team Dashboard Unkey dashboard related

Comments

@perkinsjr
Copy link
Collaborator

We currently serve tRPC, Vercel, Plain and webhooks through the legacy pages api we should move them to app router.

There isn't much reason anymore since tRPC does support app router fully.

The migration should be tested fully from end to end:

  1. All tRPC routes
  2. Clerk webhooks, Stripe webhooks
  3. Plain support requests
  4. Vercel integration

Clerk will and Stripe will require changes to the core code to use the new headers API but the business logic can stay the same.

@perkinsjr perkinsjr added Core Team Dashboard Unkey dashboard related labels Sep 16, 2024
Copy link

linear bot commented Sep 16, 2024

@chronark
Copy link
Collaborator

Would be sensible to leave clerk out for now, until we have decided on whether we move to workos or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Team Dashboard Unkey dashboard related
Projects
None yet
Development

No branches or pull requests

2 participants