[mercure] option enable_profiler in configuration of mercure is not work
Closed this issue · 0 comments
rimoi commented
Symfony version(s) affected: 4.4.2
and versions of mercure :
/* ... */
"symfony/mercure": "^0.3",
"symfony/mercure-bundle": "^0.2",
/* ... */
Description
Hi,
I think we have bug in documentation for debugging option when I put like this:
# config/packages/dev/mercure.yaml
mercure:
enable_profiler: '%kernel.debug%'
I have this :
$ bin/console de:config mercure
In ArrayNode.php line 327:
Unrecognized option "enable_profiler" under "mercure". Available options are "default_hub", "hubs".
And when i put like this :
# config/packages/dev/mercure.yaml
mercure:
hubs:
enable_profiler: '%kernel.debug%'
default:
url: '%env(MERCURE_PUBLISH_URL)%'
jwt_provider: App\Services\Mercure\JwtProvider
I have this :
$ bin/console de:config mercure
In MercureExtension.php line 51:
Notice: Undefined index: jwt_provider
Thanks