|
9 | 9 | <argument type="service" id="api_platform.hydra.json_schema.schema_factory.inner" />
|
10 | 10 | </service>
|
11 | 11 | <service id="api_platform.hydra.normalizer.documentation" class="ApiPlatform\Hydra\Serializer\DocumentationNormalizer" public="false">
|
12 |
| - <argument type="service" id="api_platform.metadata.resource.metadata_collection_factory.retro_compatible" /> |
| 12 | + <argument type="service" id="api_platform.metadata.resource.metadata_collection_factory" /> |
13 | 13 | <argument type="service" id="api_platform.metadata.property.name_collection_factory" />
|
14 | 14 | <argument type="service" id="api_platform.metadata.property.metadata_factory" />
|
15 | 15 | <argument type="service" id="api_platform.resource_class_resolver" />
|
|
39 | 39 | </service>
|
40 | 40 |
|
41 | 41 | <service id="api_platform.hydra.normalizer.entrypoint" class="ApiPlatform\Hydra\Serializer\EntrypointNormalizer" public="false">
|
42 |
| - <argument type="service" id="api_platform.metadata.resource.metadata_collection_factory.retro_compatible" /> |
| 42 | + <argument type="service" id="api_platform.metadata.resource.metadata_collection_factory" /> |
43 | 43 | <argument type="service" id="api_platform.iri_converter" />
|
44 | 44 | <argument type="service" id="api_platform.router" />
|
45 | 45 |
|
|
57 | 57 | <argument type="service" id="api_platform.jsonld.context_builder" />
|
58 | 58 | <argument type="service" id="api_platform.resource_class_resolver" />
|
59 | 59 | <argument type="service" id="api_platform.iri_converter" />
|
60 |
| - <argument type="service" id="api_platform.metadata.resource.metadata_collection_factory" on-invalid="null" /> |
| 60 | + <argument>null</argument> |
| 61 | + <argument type="collection"/> <!-- default context --> |
| 62 | + |
61 | 63 |
|
62 | 64 | <!-- Run after api_platform.jsonld.normalizer.object but before serializer.normalizer.object and serializer.denormalizer.array -->
|
63 | 65 | <tag name="serializer.normalizer" priority="-985" />
|
|
67 | 69 | <argument type="service" id="api_platform.hydra.normalizer.partial_collection_view.inner" />
|
68 | 70 | <argument>%api_platform.collection.pagination.page_parameter_name%</argument>
|
69 | 71 | <argument>%api_platform.collection.pagination.enabled_parameter_name%</argument>
|
70 |
| - <argument type="service" id="api_platform.metadata.resource.metadata_collection_factory.retro_compatible" /> |
| 72 | + <argument type="service" id="api_platform.metadata.resource.metadata_collection_factory" /> |
71 | 73 | <argument type="service" id="api_platform.property_accessor" />
|
72 | 74 | </service>
|
73 | 75 |
|
74 | 76 | <service id="api_platform.hydra.normalizer.collection_filters" class="ApiPlatform\Hydra\Serializer\CollectionFiltersNormalizer" decorates="api_platform.hydra.normalizer.collection" public="false">
|
75 | 77 | <argument type="service" id="api_platform.hydra.normalizer.collection_filters.inner" />
|
76 |
| - <argument type="service" id="api_platform.metadata.resource.metadata_collection_factory.retro_compatible" /> |
| 78 | + <argument type="service" id="api_platform.metadata.resource.metadata_collection_factory" /> |
77 | 79 | <argument type="service" id="api_platform.resource_class_resolver" />
|
78 | 80 | <argument type="service" id="api_platform.filter_locator" />
|
79 | 81 | </service>
|
|
0 commit comments