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.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: extollo/lib#1
No description provided.