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

next-axiom should not treat NEXT_REDIRECT as errors #219

Open
empz opened this issue Aug 6, 2024 · 1 comment
Open

next-axiom should not treat NEXT_REDIRECT as errors #219

empz opened this issue Aug 6, 2024 · 1 comment

Comments

@empz
Copy link

empz commented Aug 6, 2024

When wrapping route handlers with withAxiom, redirects using App Router's redirect() are caught and treated as errors. If this library claims to be compatible with the App Router, it should understand this is not an error. Same thing with notFound().

By the way, is this being maintaned at all? Last release was months ago.

@SollyzDev
Copy link
Collaborator

Hi, @empz thanks for you feedback. Yes next-axiom is very much active, there has not been changes in a while thats why there was no releases. We are planning a release soon with the changes from #218, I will also take the bug you mentioned into account.

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

No branches or pull requests

2 participants