-
Notifications
You must be signed in to change notification settings - Fork 26
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
Subgroups with middlewares are overriding parent groups middlewares #17
Comments
Thanks @es-lab I'll check it out ASAP this afternoon. Can you confirm you have pulled the latest changes, this sounds like the issue that was solved in the last pull request, just to confirm #16 P.S. if you like this router you may want to also check out this routers pure implementation https://github.com/go-playground/pure I found I was passing the custom context object everywhere which got messy after a while. |
@joeybloggs Yes I'm using the last version as you indicated. I saw the other router too, but I already have started a project that uses the Context. Now my project uses the routing system from the kataras/iris framework. As you my already know there will be no more support for it, and I'd like to migrate to another router. From the list of routers on awesome-go.com this one is pretty good and will require less changes to migrate. |
Cool I'll look into it when I'm back at a computer.. I'm out and about right now. |
Hey @es-lab I've corrected the issue and taken the liberty of splitting up the
which I've been meaning to do for a while for clarity and ease of use. Please let me know if you discovery anything else. |
Hey @joeybloggs I've tested with the last changes, and it works perfectly. Thanks for the support! P.S.: Splitting the |
Hi @joeybloggs ,
I'm doing some testing with this router, and I found an issue.
Here is an example:
And this is the behavior:
/a/test
executes theaM
. Everthing OK./a/b/test
executes onlybM
, it does not executeaM
. But it should./a/b/c/test
executes onlycM
, it does not executeaM
andbM
. But it should execute them all.If this is a bug, I hope it will be fixed ASAP. From a lot of routers out there this one seems pretty good to me, and this issue is blocking me to migrate to it.
The text was updated successfully, but these errors were encountered: