We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e049f3 commit c3fec81Copy full SHA for c3fec81
core/mongodb.md
@@ -236,7 +236,7 @@ use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
236
* @ODM\Document
237
*/
238
#[ApiResource]
239
-#[GetCollection(doctrineMongodb: ['execute_options' => ['allowDiskUse' => true]])]
+#[GetCollection(extraProperties: ['doctrineMongodb' => ['execute_options' => ['allowDiskUse' => true]]])]
240
class Offer
241
{
242
// ...
@@ -257,7 +257,7 @@ use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
257
/**
258
259
260
-#[ApiResource(doctrineMongodb: ['execute_options' => ['allowDiskUse' => true]])]
+#[ApiResource(extraProperties: ['doctrineMongodb' => ['execute_options' => ['allowDiskUse' => true]]])]
261
262
263
0 commit comments