-
Notifications
You must be signed in to change notification settings - Fork 121
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
import not working for router defined in different file #178
Comments
I haven't gone through the source in depth, but probably has something to do with closure. The example demonstrating closure only works for single let test = "test"
router extern:
get "/":
resp test also fails. |
It's because Jester tries to be clever and moves your external router into the main router :/ |
Does that mean potentially reimplementing external routers? |
Perhaps. But there is probably a way around this. |
Any news? |
1 similar comment
Any news? |
If I import this router from the main file, I get the following error:
Error: undeclared identifier: 'decodeUrl'
Using nim 0.19.0 and jester 0.4.1.
The text was updated successfully, but these errors were encountered: