[RFC] Clean up kernel by introducing ParamConverters
Right now, we use magic in Kernel.php to define the contenttype routes like /pages, /pages/4, etc. It is a hefty operation that also parses yaml files, it happens here:
https://github.com/bolt/core/blob/master/src/Kernel.php#L124-L142
But this logic can also be implemented with ParamConverters, which will be "the Symfony way" of achieving dynamic parameters in routes: https://symfony.com/bundles/SensioFrameworkExtraBundle/current/annotations/converters.html
In an effort to keep our issue list manageable, we are marking this issue as stale because it has been 60 days without activity. If this issue is still relevant, please let us know by posting a quick comment so that it remains open.