services:
    _defaults:
        public: true
        autowire: true
        autoconfigure: true

    PoPSchema\Logger\Log\LoggerInterface:
        class: \GatoGraphQL\GatoGraphQL\Overrides\Logger\Log\Logger

    # GraphiQL client
    GraphQLByPoP\GraphQLClientsForWP\Clients\GraphiQLClient:
        class: \GraphQLByPoP\GraphQLClientsForWP\Clients\GraphiQLClient

    # Override to configure the cache with dynamic values
    PoP\ComponentModel\Cache\CacheConfigurationManagerInterface:
        class: \GatoGraphQL\GatoGraphQL\Overrides\ConfigurationCache\OperationalCacheConfigurationManager

    # Inject "executing-graphql" into the state
    GraphQLByPoP\GraphQLEndpointForWP\State\GraphQLEndpointHandlerAppStateProvider:
        class: \GatoGraphQL\GatoGraphQL\Overrides\State\GraphQLEndpointHandlerAppStateProvider
