@@ -9,122 +9,18 @@ api_platform:
9
9
- ' %kernel.project_dir%/../TestBundle/Model'
10
10
11
11
services :
12
- ApiPlatform\Tests\Fixtures\TestBundle\Doctrine\Orm\EntityManager :
13
- decorates : ' doctrine.orm.default_entity_manager'
14
- arguments :
15
- $wrapped : ' @ApiPlatform\Tests\Fixtures\TestBundle\Doctrine\Orm\EntityManager.inner'
16
- $repositoryFactory : ' @doctrine.orm.container_repository_factory'
17
-
18
- app.my_dummy_resource.search_filter :
19
- parent : ' api_platform.doctrine.orm.search_filter'
20
- arguments : [ { 'id': 'exact', 'name': 'partial', 'alias': 'start', 'description': 'word_start', 'relatedDummy.name': 'exact', 'relatedDummies': 'exact', 'dummy': 'ipartial', 'relatedDummies.name': 'start', 'embeddedDummy.dummyName': 'partial', 'relatedDummy.thirdLevel.level': 'exact', 'relatedDummy.thirdLevel.fourthLevel.level': 'exact', 'relatedDummy.thirdLevel.badFourthLevel.level': 'exact', 'relatedDummy.thirdLevel.fourthLevel.badThirdLevel.level': 'exact', 'nameConverted': 'partial' } ]
21
- tags : [ { name: 'api_platform.filter', id: 'my_dummy.search' } ]
22
-
23
- # Tests if the id default to the service name, do not add id attributes here
24
- app.my_dummy_resource.order_filter :
25
- parent : ' api_platform.doctrine.orm.order_filter'
26
- arguments : [ { 'id': ~, 'name': 'desc', 'description': ~, 'relatedDummy.name': ~, 'embeddedDummy.dummyName': 'desc', 'relatedDummy.symfony': ~, 'dummyDate': ~} ]
27
- tags : [ { name: 'api_platform.filter', id: 'my_dummy.order' } ]
28
-
29
- app.my_dummy_resource.date_filter :
30
- parent : ' api_platform.doctrine.orm.date_filter'
31
- arguments : [ { 'dummyDate': ~, 'relatedDummy.dummyDate': ~, 'embeddedDummy.dummyDate': ~ } ]
32
- tags : [ { name: 'api_platform.filter', id: 'my_dummy.date' } ]
33
-
34
- app.my_dummy_date_resource.date_filter :
35
- parent : ' api_platform.doctrine.orm.date_filter'
36
- arguments : [ { 'dummyDate': ~ } ]
37
- tags : [ { name: 'api_platform.filter', id: 'my_dummy_date.date' } ]
38
-
39
- my_dummy_immutable_date.date :
40
- parent : ' api_platform.doctrine.orm.date_filter'
41
- arguments : [ { 'dummyDate': ~ } ]
42
- tags : [ { name: 'api_platform.filter' } ]
43
-
44
- app.my_dummy_resource.range_filter :
45
- parent : ' api_platform.doctrine.orm.range_filter'
46
- arguments : [ { 'dummyFloat': ~, 'dummyPrice': ~ } ]
47
- tags : [ { name: 'api_platform.filter', id: 'my_dummy.range' } ]
48
-
49
- app.my_dummy_resource.boolean_filter :
50
- parent : ' api_platform.doctrine.orm.boolean_filter'
51
- arguments : [ { 'dummyBoolean': ~, 'embeddedDummy.dummyBoolean': ~, 'relatedDummy.embeddedDummy.dummyBoolean': ~ } ]
52
- tags : [ { name: 'api_platform.filter', id: 'my_dummy.boolean' } ]
53
-
54
- app.my_dummy_resource.numeric_filter :
55
- parent : ' api_platform.doctrine.orm.numeric_filter'
56
- arguments : [ { 'dummyFloat': ~, 'dummyPrice': ~ } ]
57
- tags : [ { name: 'api_platform.filter', id: 'my_dummy.numeric' } ]
58
-
59
- app.my_dummy_resource.exists_filter :
60
- parent : ' api_platform.doctrine.orm.exists_filter'
61
- arguments : [ { 'alias': ~, 'description': ~, 'relatedDummy.name': ~, 'dummyBoolean': ~, 'relatedDummy': ~, 'relatedDummies': ~ } ]
62
- tags : [ { name: 'api_platform.filter', id: 'my_dummy.exists' } ]
63
-
64
- app.related_dummy_resource.search_filter :
65
- parent : ' api_platform.doctrine.orm.search_filter'
66
- arguments : [ { 'relatedToDummyFriend.dummyFriend': 'exact', 'name': 'partial', 'age': 'exact' } ]
67
- tags : [ { name: 'api_platform.filter', id: 'related_dummy.friends' } ]
68
-
69
- app.related_dummy_resource.complex_sub_query_filter :
70
- class : ApiPlatform\Tests\Fixtures\TestBundle\Filter\LegacyComplexSubQueryFilter
12
+ app.dummy_dto_no_output_data_persister :
13
+ class : ApiPlatform\Tests\Fixtures\TestBundle\DataPersister\DummyDtoNoOutputDataPersister
71
14
arguments : ['@doctrine']
72
- tags : [ { name: 'api_platform.filter', id: 'related_dummy.complex_sub_query' } ]
73
-
74
- app.related_dummy_to_friend_resource.search_filter :
75
- parent : ' api_platform.doctrine.orm.search_filter'
76
- arguments : [ { 'name': 'ipartial', 'description': 'ipartial' } ]
77
- tags : [ { name: 'api_platform.filter', id: 'related_to_dummy_friend.name' } ]
78
-
79
- ApiPlatform\Tests\Fixtures\TestBundle\DataProvider\GeneratorDataProvider :
80
- public : false
81
- tags :
82
- - name : ' api_platform.item_data_provider'
83
-
84
- ApiPlatform\Tests\Fixtures\TestBundle\DataProvider\ProductItemDataProvider :
85
15
public : false
86
- arguments :
87
- $managerRegistry : ' @doctrine'
88
16
tags :
89
- - name : ' api_platform.item_data_provider'
90
-
91
- ApiPlatform\Tests\Fixtures\TestBundle\State\ProductProvider :
92
- class : ' ApiPlatform\Tests\Fixtures\TestBundle\State\ProductProvider'
93
- public : false
94
- arguments :
95
- $managerRegistry : ' @doctrine'
96
- tags :
97
- - name : ' api_platform.state_provider'
17
+ - { name: 'api_platform.data_persister' }
98
18
99
- ApiPlatform\Tests\Fixtures\TestBundle\DataProvider\TaxonItemDataProvider :
19
+ ApiPlatform\Tests\Fixtures\TestBundle\DataProvider\GeneratorDataProvider :
100
20
public : false
101
- arguments :
102
- $managerRegistry : ' @doctrine'
103
21
tags :
104
22
- name : ' api_platform.item_data_provider'
105
23
106
- ApiPlatform\Tests\Fixtures\TestBundle\State\TaxonItemProvider :
107
- class : ' ApiPlatform\Tests\Fixtures\TestBundle\State\TaxonItemProvider'
108
- public : false
109
- arguments :
110
- $managerRegistry : ' @doctrine'
111
- tags :
112
- - name : ' api_platform.state_provider'
113
-
114
- app.dummy_dto_no_input.data_provider :
115
- class : ' ApiPlatform\Tests\Fixtures\TestBundle\DataProvider\DummyDtoNoInputCollectionDataProvider'
116
- public : false
117
- arguments : ['@doctrine']
118
- tags :
119
- - { name: 'api_platform.collection_data_provider' }
120
-
121
- app.dummy_dto_no_output_data_persister :
122
- class : ApiPlatform\Tests\Fixtures\TestBundle\DataPersister\DummyDtoNoOutputDataPersister
123
- arguments : ['@doctrine']
124
- public : false
125
- tags :
126
- - { name: 'api_platform.data_persister' }
127
-
128
24
app.user_reset_password_data_persister :
129
25
class : ApiPlatform\Tests\Fixtures\TestBundle\DataPersister\UserResetPasswordDataPersister
130
26
public : false
0 commit comments