-
Notifications
You must be signed in to change notification settings - Fork 7
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
Additional handlers config #8
Additional handlers config #8
Conversation
96a3ce8
to
e03349b
Compare
Hi Nick, Thank you for the contribution. |
Could you add tests for the new methods to |
Sure, will do today |
Done, would this be enough? |
Regarding tests - yes, that's perfect |
Updated it, had to use |
…itional handlers documentation. Version bump.
@nick-lvov-dev Please make sure that my changes don't break functionality that you need |
PR changes. Additional handlers - optimization for applying default handlers. Additional handlers documentation. Version bump.
Looks great, merged |
Thanks for the contribution, |
Thank you for publishing it, and again for making this library :) |
Hey man! Just gotta say, your library is amazing, we're actively using it in our project, thank you for creating it!
I had this little idea to add custom handlers to the path besides
$path
,$raw
etc.Basically I've added a second argument to the
typedPath
function that can serve as a handler config. Then you can add as many custom handlers as you'd like.Short example of how it could be used:
I've tested it locally, all the base functions work.
Please take a look, tell me what you think :)