You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@zemian I noticed that the signature of the customController should be improved (for more flexibility and database access). I will merge this, make the adjustment and make a minor release with a breaking change. Current:
new $className($router, $responder, $records);
proposed:
new $className($router, $responder, $db, $reflection, $cache);
You can then:
$records = new RecordService($db, $reflection);
$definition = new DefinitionService($db, $reflection);
And do everything that the other controllers do.
What do you think?
The text was updated successfully, but these errors were encountered:
@zemian I noticed that the signature of the customController should be improved (for more flexibility and database access). I will merge this, make the adjustment and make a minor release with a breaking change. Current:
proposed:
You can then:
And do everything that the other controllers do.
What do you think?
The text was updated successfully, but these errors were encountered: