Route group middleware being applied twice? #1

Closed
opened 2021-05-16 01:44:49 +00:00 by garrettmills · 0 comments
Owner

To replicate, e.g.:

  1. Create a middleware that registers a singleton instance in the request container using registerSingletonInstance

  2. Create a route group with a route in it.

  3. Apply the middleware to the route group using .pre()

Observe that, upon navigating to the route, a DuplicateFactoryKeyError is thrown.

To replicate, e.g.: 1. Create a middleware that registers a singleton instance in the request container using `registerSingletonInstance` 2. Create a route group with a route in it. 3. Apply the middleware to the route group using `.pre()` Observe that, upon navigating to the route, a `DuplicateFactoryKeyError` is thrown.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: extollo/lib#1