Skip to content

Commit f728a43

Browse files
committed
operation after @type
1 parent 3eaa7cb commit f728a43

5 files changed

Lines changed: 386 additions & 66 deletions

File tree

features/doctrine/issue6175/standard_put_entity_inheritence.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Feature: Update properties of a resource that are inherited with standard PUT op
1818
{
1919
"@context": "/contexts/DummyMappedSubclass",
2020
"@id": "/dummy_mapped_subclasses/1",
21+
"@type": "DummyMappedSubclass",
2122
"operation": [
2223
{
2324
"@type": [
@@ -68,7 +69,6 @@ Feature: Update properties of a resource that are inherited with standard PUT op
6869
"returns": "owl:Nothing"
6970
}
7071
],
71-
"@type": "DummyMappedSubclass",
7272
"id": 1,
7373
"foo": "updated value"
7474
}

features/doctrine/search_filter.feature

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Feature: Search filter on collections
2828
"hydra:member": [
2929
{
3030
"@id": "/dummy_cars/1",
31+
"@type": "DummyCar",
3132
"operation": [
3233
{
3334
"@type": [
@@ -78,10 +79,10 @@ Feature: Search filter on collections
7879
"returns": "owl:Nothing"
7980
}
8081
],
81-
"@type": "DummyCar",
8282
"colors": [
8383
{
8484
"@id": "/dummy_car_colors/1",
85+
"@type": "DummyCarColor",
8586
"operation": [
8687
{
8788
"@type": [
@@ -132,11 +133,11 @@ Feature: Search filter on collections
132133
"returns": "owl:Nothing"
133134
}
134135
],
135-
"@type": "DummyCarColor",
136136
"prop": "red"
137137
},
138138
{
139139
"@id": "/dummy_car_colors/2",
140+
"@type": "DummyCarColor",
140141
"operation": [
141142
{
142143
"@type": [
@@ -187,13 +188,13 @@ Feature: Search filter on collections
187188
"returns": "owl:Nothing"
188189
}
189190
],
190-
"@type": "DummyCarColor",
191191
"prop": "blue"
192192
}
193193
],
194194
"secondColors": [
195195
{
196196
"@id": "/dummy_car_colors/1",
197+
"@type": "DummyCarColor",
197198
"operation": [
198199
{
199200
"@type": [
@@ -244,11 +245,11 @@ Feature: Search filter on collections
244245
"returns": "owl:Nothing"
245246
}
246247
],
247-
"@type": "DummyCarColor",
248248
"prop": "red"
249249
},
250250
{
251251
"@id": "/dummy_car_colors/2",
252+
"@type": "DummyCarColor",
252253
"operation": [
253254
{
254255
"@type": [
@@ -299,13 +300,13 @@ Feature: Search filter on collections
299300
"returns": "owl:Nothing"
300301
}
301302
],
302-
"@type": "DummyCarColor",
303303
"prop": "blue"
304304
}
305305
],
306306
"thirdColors": [
307307
{
308308
"@id": "/dummy_car_colors/1",
309+
"@type": "DummyCarColor",
309310
"operation": [
310311
{
311312
"@type": [
@@ -356,11 +357,11 @@ Feature: Search filter on collections
356357
"returns": "owl:Nothing"
357358
}
358359
],
359-
"@type": "DummyCarColor",
360360
"prop": "red"
361361
},
362362
{
363363
"@id": "/dummy_car_colors/2",
364+
"@type": "DummyCarColor",
364365
"operation": [
365366
{
366367
"@type": [
@@ -411,7 +412,6 @@ Feature: Search filter on collections
411412
"returns": "owl:Nothing"
412413
}
413414
],
414-
"@type": "DummyCarColor",
415415
"prop": "blue"
416416
}
417417
],

0 commit comments

Comments
 (0)