You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to use an existing router framework to achieve this. Maybe pull out the routing from express?
Short term
The short terms solution is that for every trigger we run through our entire object of routes and fire those handlers which match our wildcard via regular expressions.
This is a HUGE performance problem as the number of keys increase, but shoudl do for now.
The text was updated successfully, but these errors were encountered:
Wildcard Support
Rough API
Due to popular demand, it has been requested that we add wildcards to
hooker.register()
as follows:Implementation guide
Long term vision
We would like to use an existing router framework to achieve this. Maybe pull out the routing from express?
Short term
The short terms solution is that for every
trigger
we run through our entire object of routes and fire those handlers which match our wildcard via regular expressions.This is a HUGE performance problem as the number of keys increase, but shoudl do for now.
The text was updated successfully, but these errors were encountered: