Skip to content

Commit

Permalink
Revert "GraphQL: Fix GraphQL fetching with Elasticsearch"
Browse files Browse the repository at this point in the history
This reverts commit a625fe7.
  • Loading branch information
vincentchalamon committed Dec 17, 2021
1 parent b07ea3b commit a31c746
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 476 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Expand Up @@ -32,7 +32,6 @@
* GraphQL: **BC** Fix security on association collection properties. The collection resource `item_query` security is no longer used. `ApiProperty` security can now be used to secure collection (or any other) properties. (#4143)
* Deprecate `allow_plain_identifiers` option (#4167)
* Exception: Add the ability to customize multiple status codes based on the validation exception (#4017)
* GraphQL: Fix graphql fetching with Elasticsearch (#4217)
* ApiLoader: Support `_format` resolving (#4292)
* Metadata: new namespace `ApiPlatform\Metadata` instead of `ApiPlatform\Core\Metadata`, for example `ApiPlatform\Metadata\ApiResource` (#4351)
* Metadata: deprecation of `ApiPlatform\Core\Annotation` (#4351)
Expand Down
1 change: 0 additions & 1 deletion behat.yml.dist
Expand Up @@ -84,7 +84,6 @@ elasticsearch:
contexts:
- 'ApiPlatform\Core\Tests\Behat\CommandContext'
- 'ApiPlatform\Core\Tests\Behat\ElasticsearchContext'
- 'ApiPlatform\Core\Tests\Behat\GraphqlContext'
- 'ApiPlatform\Core\Tests\Behat\JsonContext'
- 'Behat\MinkExtension\Context\MinkContext'
- 'behatch:context:rest'
Expand Down
99 changes: 0 additions & 99 deletions features/elasticsearch/graphql.feature

This file was deleted.

152 changes: 0 additions & 152 deletions src/Core/Bridge/Elasticsearch/DataProvider/SubresourceDataProvider.php

This file was deleted.

14 changes: 0 additions & 14 deletions src/Symfony/Bundle/Resources/config/elasticsearch.xml
Expand Up @@ -106,20 +106,6 @@
<tag name="api_platform.collection_data_provider" priority="5" />
</service>

<service id="api_platform.elasticsearch.subresource_data_provider" class="ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\SubresourceDataProvider" public="false">
<argument type="service" id="api_platform.elasticsearch.client" />
<argument type="service" id="api_platform.elasticsearch.metadata.document.metadata_factory" />
<argument type="service" id="api_platform.elasticsearch.identifier_extractor" />
<argument type="service" id="serializer" />
<argument type="service" id="api_platform.pagination" />
<argument type="service" id="api_platform.metadata.resource.metadata_factory" />
<argument type="service" id="api_platform.metadata.property.name_collection_factory" />
<argument type="service" id="api_platform.metadata.property.metadata_factory" />
<argument type="tagged" tag="api_platform.elasticsearch.request_body_search_extension.collection" />

<tag name="api_platform.subresource_data_provider" priority="5" />
</service>

<service id="api_platform.elasticsearch.request_body_search_extension.filter" public="false" abstract="true">
<argument type="service" id="api_platform.metadata.resource.metadata_factory" />
<argument type="service" id="api_platform.filter_locator" />
Expand Down

0 comments on commit a31c746

Please sign in to comment.