hoodunit / purescript-payload

An HTTP server and client library for PureScript
Apache License 2.0
100 stars 11 forks source link

Only run each guard once per matching route #15

Open hoodunit opened 3 years ago

hoodunit commented 3 years ago

Right now the list of guards for an endpoint are run once for each route that matches a request. This is rather unfortunate in cases where a request matches many routes.