Hi!
Great job on the new releases! :D
When upgrading v2.6.8 to v2.7.0 I get a few errors related to missing or changed classes, and visibility changes on methods.
Below was reported originally:
Cannot autowire service "App\MyService": argument "$factory" of method "__construct()" references interface "ApiPlatform\Core\Bridge\Elasticsearch\Metadata\Document\Factory\DocumentMetadataFactoryInterface" but no such service exists. Did you create a class that implements this interface?

I also noticed another class missing:

New errors reported by PHPStan:
- Call to private method
getNestedFieldPath() of class ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Filter\AbstractFilter.
- Parameter
#2 $propertyNameCollectionFactory of class Infrastructure\Shared\ApiPlatform\DataProvider\Extension\CompositeAggregationExtension constructor expects ApiPlatform\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface, ApiPlatform\Metadata\Property\Factory\CachedPropertyNameCollectionFactory given.
- Parameter
#4 $resourceClassResolver of class Infrastructure\Shared\ApiPlatform\DataProvider\Extension\CompositeAggregationExtension constructor expects ApiPlatform\Api\ResourceClassResolverInterface, ApiPlatform\Api\ResourceClassResolver given.
- Class
ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Extension\AbstractFilterExtension not found in file
/home/www/app/src/Infrastructure/Shared/ApiPlatform/DataProvider/Extension/SearchFilterExtension.php (more details in Infection section below)
New errors reported by my PHPUnit suite:
- Error: Class
ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Extension\ConstantScoreFilterExtension not found
Another one by Infection:
Generating code coverage report in PHPUnit XML format ... The autoloader expected class `ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Extension\AbstractFilterExtension` to be defined in file "/builds/1/xxx/api/vendor/composer/../api-platform/core/src/Core/Bridge/Elasticsearch/DataProvider/Extension/AbstractFilterExtension.php". The file was found but the class was not in it, the class name or namespace probably has a typo.
Hi!
Great job on the new releases! :D
When upgrading v2.6.8 to v2.7.0 I get a few errors related to missing or changed classes, and visibility changes on methods.
Below was reported originally:
I also noticed another class missing:
New errors reported by PHPStan:
getNestedFieldPath()of classApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Filter\AbstractFilter.#2$propertyNameCollectionFactory of class Infrastructure\Shared\ApiPlatform\DataProvider\Extension\CompositeAggregationExtension constructor expectsApiPlatform\Metadata\Property\Factory\PropertyNameCollectionFactoryInterface,ApiPlatform\Metadata\Property\Factory\CachedPropertyNameCollectionFactorygiven.#4$resourceClassResolver of class Infrastructure\Shared\ApiPlatform\DataProvider\Extension\CompositeAggregationExtension constructor expectsApiPlatform\Api\ResourceClassResolverInterface,ApiPlatform\Api\ResourceClassResolvergiven.ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Extension\AbstractFilterExtensionnot found in file/home/www/app/src/Infrastructure/Shared/ApiPlatform/DataProvider/Extension/SearchFilterExtension.php (more details in Infection section below)
New errors reported by my PHPUnit suite:
ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\Extension\ConstantScoreFilterExtensionnot foundAnother one by Infection: