contrib
contrib copied to clipboard
SkipURIs: route parameter support
In fiberzaplog, fiberzerolog middleware, the configuration item SkipURIs
only supports equal to comparison. In fact, many routes have parameters, for URL with routing parameters, cannot be effectively excluded by SkipURIs
.
All, SkipURIs
need to be set to a regular expression or other routing matching pattern to effectively solve this problem.
I hope this feature will be realized soon.
thanks.
okay, i didn't notice this feature before, normally it is not needed
Because you can in the Next method which you can pass, his conditions for skipping deposit and also with regex checks perform
Probably deprecate SkipURIs
and documentate how to do the same in Next
is the best option.