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

Endpoint: subRoute ignored with nested http verb - 5.0.0-rc-3 #452

Closed
pkuo opened this issue Dec 3, 2020 · 3 comments
Closed

Endpoint: subRoute ignored with nested http verb - 5.0.0-rc-3 #452

pkuo opened this issue Dec 3, 2020 · 3 comments

Comments

@pkuo
Copy link

pkuo commented Dec 3, 2020

let endpoints = [ subRoute "/sub" [ GET [ route "/test" handler1 ] ] ]

The resulting endpoint is "/test" not "/sub/test".

This however works:
let endpoints = [ GET [ subRoute "/sub" [ route "/test" handler1 ] ] ]

@dustinmoris
Copy link
Member

Thanks for reporting this issue. I've applied a fix which will be released in the coming days as part of the next RC iteration.

@dustinmoris
Copy link
Member

Fix: c3922b9

@dustinmoris
Copy link
Member

Fixed with latest release. Thanks for reporting!

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