File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -557,6 +557,9 @@ This action will be automatically registered as a service (the service name is t
557
557
API Platform automatically retrieves the appropriate PHP entity then deserializes it, and for `POST` and `PUT` requests
558
558
updates the entity with data provided by the user.
559
559
560
+ If you want to bypass the automatic retrieval of the entity, you can set the parameter `_api_receive` to `false`.
561
+ This way, it will skip the `Read`, `Deserialize` and `Validate` listeners (see [the event system](events.md) for more information).
562
+
560
563
Services (`$myService` here) are automatically injected thanks to the autowiring feature. You can type-hint any service
561
564
you need and it will be autowired too.
562
565
You can’t perform that action at this time.
0 commit comments