/// <summary>
        ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
        ///     directly from your code. This API may change or be removed in future releases.
        /// </summary>
        public virtual async Task IncludeAsync([CanBeNull] object entity, CancellationToken cancellationToken)
        {
            if (_previous != null)
            {
                await _previous.IncludeAsync(entity, cancellationToken);
            }

            await _queryContext.QueryBuffer
            .IncludeAsync(
                _queryContext,
                entity,
                _navigationPath,
                _relatedEntitiesLoaders,
                _querySourceRequiresTracking,
                cancellationToken);
        }