Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mercure] option enable_profiler in configuration of mercure is not work #26

Closed
rimoi opened this issue Mar 5, 2020 · 0 comments
Closed

Comments

@rimoi
Copy link

rimoi commented Mar 5, 2020

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

@rimoi rimoi closed this as completed Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant