|
60 | 60 | <tag name="container.service_locator" />
|
61 | 61 | </service>
|
62 | 62 |
|
| 63 | + <service id="api_platform.graphql.types_container" class="ApiPlatform\Core\GraphQl\Type\TypesContainer" /> |
| 64 | + |
63 | 65 | <service id="api_platform.graphql.types_factory" class="ApiPlatform\Core\GraphQl\Type\TypesFactory">
|
64 | 66 | <argument type="service" id="api_platform.graphql.type_locator" />
|
65 | 67 | </service>
|
66 | 68 |
|
67 |
| - <service id="api_platform.graphql.schema_builder" class="ApiPlatform\Core\GraphQl\Type\SchemaBuilder" public="false"> |
| 69 | + <service id="api_platform.graphql.type_converter" class="ApiPlatform\Core\GraphQl\Type\TypeConverter"> |
| 70 | + <argument type="service" id="api_platform.graphql.type_builder" /> |
| 71 | + <argument type="service" id="api_platform.metadata.resource.metadata_factory" /> |
| 72 | + </service> |
| 73 | + |
| 74 | + <service id="api_platform.graphql.type_builder" class="ApiPlatform\Core\GraphQl\Type\TypeBuilder" public="false"> |
| 75 | + <argument type="service" id="api_platform.graphql.types_container" /> |
| 76 | + <argument type="service" id="api_platform.graphql.resolver.resource_field" /> |
| 77 | + <argument type="service" id="api_platform.graphql.fields_builder_locator" /> |
| 78 | + </service> |
| 79 | + |
| 80 | + <service id="api_platform.graphql.fields_builder" class="ApiPlatform\Core\GraphQl\Type\FieldsBuilder" public="false"> |
68 | 81 | <argument type="service" id="api_platform.metadata.property.name_collection_factory" />
|
69 | 82 | <argument type="service" id="api_platform.metadata.property.metadata_factory" />
|
70 |
| - <argument type="service" id="api_platform.metadata.resource.name_collection_factory" /> |
71 | 83 | <argument type="service" id="api_platform.metadata.resource.metadata_factory" />
|
| 84 | + <argument type="service" id="api_platform.graphql.types_container" /> |
| 85 | + <argument type="service" id="api_platform.graphql.type_builder" /> |
| 86 | + <argument type="service" id="api_platform.graphql.type_converter" /> |
72 | 87 | <argument type="service" id="api_platform.graphql.resolver.factory.item" />
|
73 | 88 | <argument type="service" id="api_platform.graphql.resolver.factory.collection" />
|
74 | 89 | <argument type="service" id="api_platform.graphql.resolver.factory.item_mutation" />
|
75 |
| - <argument type="service" id="api_platform.graphql.resolver.resource_field" /> |
76 |
| - <argument type="service" id="api_platform.graphql.types_factory" /> |
77 | 90 | <argument type="service" id="api_platform.filter_locator" />
|
78 | 91 | <argument>%api_platform.collection.pagination.enabled%</argument>
|
79 | 92 | </service>
|
80 | 93 |
|
| 94 | + <service id="api_platform.graphql.fields_builder_locator" class="Symfony\Component\DependencyInjection\ServiceLocator" public="false"> |
| 95 | + <argument type="collection"> |
| 96 | + <argument type="service" id="api_platform.graphql.fields_builder" /> |
| 97 | + </argument> |
| 98 | + <tag name="container.service_locator"/> |
| 99 | + </service> |
| 100 | + |
| 101 | + <service id="api_platform.graphql.schema_builder" class="ApiPlatform\Core\GraphQl\Type\SchemaBuilder" public="false"> |
| 102 | + <argument type="service" id="api_platform.metadata.resource.name_collection_factory" /> |
| 103 | + <argument type="service" id="api_platform.metadata.resource.metadata_factory" /> |
| 104 | + <argument type="service" id="api_platform.graphql.types_factory" /> |
| 105 | + <argument type="service" id="api_platform.graphql.types_container" /> |
| 106 | + <argument type="service" id="api_platform.graphql.fields_builder" /> |
| 107 | + </service> |
| 108 | + |
81 | 109 | <!-- Action -->
|
82 | 110 |
|
83 | 111 | <service id="api_platform.graphql.action.entrypoint" class="ApiPlatform\Core\GraphQl\Action\EntrypointAction" public="true">
|
|
0 commit comments