-
-
Notifications
You must be signed in to change notification settings - Fork 980
Closed
Description
Im trying to update bundle from 2.7 => 3.3
In the old bundle Im loading appropriate entity mapping when particular extension is enabled.
public function prepend(ContainerBuilder $container): void
{
if (!$this->isExtensionEnabled($container)) {
return;
}
if (isset($container->getExtensions()['api_platform'])) {
$container->prependExtensionConfig('api_platform', [
'mapping' => [
'paths' => ['%kernel.project_dir%/config/api/resources/voice_twilio.yaml'],
],
]);
}
}
After upgrade I can only see automatically generated entity routes in "debug:routes" - all of them are starting by underscore.
Is it the loading of mapping done too late? What can I do in order to fix it? I'm not very well informed about the Symfony internals.
Metadata
Metadata
Assignees
Labels
No labels