File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ use ApiPlatform\Metadata\Post;
322
322
323
323
#[ApiResource]
324
324
#[Get]
325
- #[Post(name: 'publication ', routeName: 'book_post_publication')]
325
+ #[Post(name: 'post_publication ', routeName: 'book_post_publication')]
326
326
#[Post(name: 'book_post_discontinuation')]
327
327
class Book
328
328
{
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
236
236
* @ODM\Document
237
237
*/
238
238
#[ApiResource]
239
- #[GetCollection(doctrineMongodb : ['execute_options' => ['allowDiskUse' => true]])]
239
+ #[GetCollection(extraProperties : ['doctrineMongodb' => [' execute_options' => ['allowDiskUse' => true] ]])]
240
240
class Offer
241
241
{
242
242
// ...
@@ -257,7 +257,7 @@ use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
257
257
/**
258
258
* @ODM\Document
259
259
*/
260
- #[ApiResource(doctrineMongodb : ['execute_options' => ['allowDiskUse' => true]])]
260
+ #[ApiResource(extraProperties : ['doctrineMongodb' => [' execute_options' => ['allowDiskUse' => true] ]])]
261
261
class Offer
262
262
{
263
263
// ...
You can’t perform that action at this time.
0 commit comments