Closed dantleech closed 9 years ago
Hmm, the same might also apply to setRedirectTarget
, which is scoped only to the adapter.
Closing this as it is my use case here was solved more effectively by using a custom AutoRoute object (which falls within the scope of the custom adapter).
The adapter should also handle updating the type of the route back to a primary route.
Currently this is handled by the
AutoRouteInterface#setType
method, however theAutoRoute
should not know how the adapter stores the "type" information:This should be delegated to the adapter: