Skip to content

Commit

Permalink
docs(guides): breaking change exposeHeadRoutes (#4047)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eomm committed Jun 19, 2022
1 parent b62b61c commit ce030d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/Guides/Migration-Guide-V4.md
Expand Up @@ -27,6 +27,12 @@ In some situations, like when a response is sent asynchronously or when you're
just not explicitly returning a response, you'll need to return the `reply`
argument from your router handler.

### `exposeHeadRoutes` true by default

Starting from v4, all the `GET` routes will create a sibling `HEAD` route.
You can revert this behaviour by setting the server's option `exposeHeadRoutes`
to `false`.

## Non Breaking Changes

### Change of schema for multiple types
Expand Down

0 comments on commit ce030d0

Please sign in to comment.