-
Notifications
You must be signed in to change notification settings - Fork 58
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
Unknown type cowboy_router:route_match #115
Comments
We sure am. Send that PR our way, @paulo-ferraz-oliveira !! Thank you in advance :) |
I'd require a support branch (in the sense of git-flow, something like support/1.x) from c1258a1, though. Is that possible? I'll do static analysis on 2.x to see if it suffers from a similar issue. |
Let me add you as a collaborator to this repo… |
Done! Go ahead and create branches! :) |
👍 thanks. I'm passing |
cowboy_trails
|
|
But I've had dynamic calls in the past (for behaviours and not only) and I've never seen this warning. |
No idea, but that's also the only line of actual code in that module anyway. 🤷♂️ |
cowboy_swagger
|
combo
... but until I do, I'd like to PR |
I'll add you as a collaborator there, as well. |
Done! :) |
I can't seem to be able (403) to push to origin/upstream. |
This is what I'm proposing for support/0.x (for trails): https://github.com/paulo-ferraz-oliveira/cowboy-trails/tree/support/0.x |
It's due to |
Cool. You should accept your invite at https://github.com/inaka/cowboy-trails/invitations |
This changes look good to me, BTW. |
Here's what I'll propose for support/1.x: https://github.com/paulo-ferraz-oliveira/cowboy_swagger/tree/support/1.x I need a minor rebar.lock update as soon as trails is hex-published, though. |
…and now it's published :) |
@elbrujohalcon: do you think we can/should close this thread? |
Closing it! |
Hi.
I'm running cowboy_swagger 1.2.3 with cowboy 1.1.2.
Static (dialyzer) analysis shows that cowboy_swagger trails.erl uses type cowboy_router:route_match(), which is not exported from cowboy 1.1.2's cowboy_router.
I don't know what cowboy version cowboy_swagger assumes for -spec().ing purposes, but I supposed (probably wrongly) that 2.x from cowboy_swagger would use 2.x from cowboy, for which the previous would be incompatible.
Would you be open to a support patch for 1.2.3 that fixes that issue?
Thanks.
The text was updated successfully, but these errors were encountered: