Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feature: route constraints (#1998)
* Segment parameters constraints and determining it's type * add parsing for constraints. * fix tests * add tests, benchs & some fixes. * fix regex & datetime tests. * clean up constraint parser, multiple constraint support. * update * regex customization. * constants, remove variadic methods. * add some benchs, refactor constraint check funtion. * more readable conditions * fix tests * precompile regex * precompile regex when parsing the route * update comments Co-authored-by: wernerr <rene@gofiber.io> Co-authored-by: Mohab Abd El-Dayem <mohab.m.mohamed@gmail.com> Co-authored-by: RW <rene@gofiber.io>
- Loading branch information
1 parent
95abdac
commit 2517944
Showing
3 changed files
with
563 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.