<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>

        <service id="api_platform.graphql.subscription.mercure_iri_generator" class="ApiPlatform\GraphQl\Subscription\MercureSubscriptionIriGenerator">
            <argument type="service" id="router.request_context" />
            <argument type="service" id="Symfony\Component\Mercure\HubRegistry" />
        </service>

    </services>

</container>
