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

fix: undefined route context on aot=false #1040

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hisamafahri
Copy link
Contributor

It looks like the route context is returning undefined if the aot=false.

This commit try to fix it by passing the route to createDynamicHandler

Fix: #898


Also added some test cases for it.

It looks like the `route` context is returning `undefined` if the
`aot=false`.

This commit try to fix it by passing the `route` to
`createDynamicHandler`

Fix: [elysiajs#898](elysiajs#898)
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.

Context property route is undefined when aot is disabled or may not even work at all
1 participant