-
Notifications
You must be signed in to change notification settings - Fork 20
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
trails_handler supports parameter #101
Conversation
Not a bad idea, but I guess it requires many more changes than the ones you just submitted, right? |
This is a compatibility modification
|
Our project will listen to multiple http ports, and their APIs are different, trails: trails does not support parameters will cause me to be unable to open swaggerUI |
Sorry, @turtleDeng … But you'll have to be a bit more detailed than that. |
I see… and just by changing that single line in |
You, at the very least, need to add a new callback to |
Yes, add a trails/1 callback |
Great! Now, can you please do the following things?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two additional small changes and we're done.
Well… now we have some dialyzer issue in our hands… 🤔 |
cowboy_trails is a great project.
trails_handler support parameters will be a very good feature.