fix: create controllers in specified order #774
Labels
status: needs triage
Issues which needs to be reproduced to be verified report.
type: fix
Issues describing a broken feature.
Description
Controllers are created in the order they are registered with metadata, not in the order they are passed into the router controller options.
Expected behavior
Requests are handle by the First controller, which is the first in the controller order, but last to be registered.
Actual behavior
Requests are handle by the Third controller, which is the last in the controller order, but first to be registered.
The text was updated successfully, but these errors were encountered: