Skip to content

Commit

Permalink
Merge branch 'api-platform:3.2' into 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Angatar authored Dec 6, 2023
2 parents 5569a2f + d55562b commit c60669b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ api_platform:
### Formats
We noticed that API Platform was enabling `json` by default because of our OpenAPI support. We introduced the new `application/vnd.openapi+json`. Therefore if you want `json` you need to explicitly handle it:
We noticed that API Platform was enabling `json` by default because of our OpenAPI support. We introduced the new `application/vnd.openapi+json`. Therefore if you want `json` you need to explicitly handle it:

```yaml
formats:
Expand All @@ -47,7 +47,7 @@ event_listeners_backward_compatibility_layer: false
```

This allows API Platform to not use http kernel event listeners. It also allows you to force options like `read: true` or `validate: true`. This simplifies use cases like [validating a delete operation](/docs/v3.2/guides/delete-operation-with-validation/)
Event listeners will not get removed and are not deprecated, they'll use our providers and processors in a future version.
Event listeners will not get removed and are not deprecated, they'll use our providers and processors in a future version.

### Inflector

Expand Down

0 comments on commit c60669b

Please sign in to comment.