mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 08:21:11 +00:00
Merge pull request #270 from egli/patch-1
Fix a small documentation typo
This commit is contained in:
commit
9a75219443
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ Spec problems are exposed as-is into request & response coercion errors, enablin
|
||||||
|
|
||||||
### Optimizations
|
### Optimizations
|
||||||
|
|
||||||
The coercion middleware are [compiled againts a route](compiling_middleware.md). In the middleware compilation step the actual coercer implementations are constructed for the defined models. Also, the middleware doesn't mount itself if a route doesn't have `:coercion` and `:parameters` or `:responses` defined.
|
The coercion middleware are [compiled against a route](compiling_middleware.md). In the middleware compilation step the actual coercer implementations are constructed for the defined models. Also, the middleware doesn't mount itself if a route doesn't have `:coercion` and `:parameters` or `:responses` defined.
|
||||||
|
|
||||||
We can query the compiled middleware chain for the routes:
|
We can query the compiled middleware chain for the routes:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue