Skip to content

Commit

Permalink
Close #456
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Apr 22, 2024
1 parent 7eeae73 commit b0c0839
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ nil
for format negotiation, encoding and decoding.
- 4x more throughput on 1k JSON request-response echo
- api key `:format` has been deprecated (fails at api creation time), use `:formats` instead. It consumes either a
Muuntaja instance, Muuntaja options map or `nil` (unmounts it). See [how to configure Muuntaja](https://github.com/metosin/muuntaja/wiki/Configuration) how to use.
Muuntaja instance, Muuntaja options map or `nil` (unmounts it). See [how to configure Muuntaja](https://github.com/metosin/muuntaja/blob/master/doc/Configuration.md) how to use.
* ~~**EXPERIMENTAL**~~: fast `context`s, [#253](https://github.com/metosin/compojure-api/pull/253) - use static routes if a `context` doesn't do any lexical bindings
- up to 4x faster `context` routing.
* Support delayed child route resolution.
Expand Down
4 changes: 2 additions & 2 deletions src/compojure/api/middleware.clj
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
- **:formats** for Muuntaja middleware. Value can be a valid muuntaja options-map,
a Muuntaja instance or nil (to unmount it). See
https://github.com/metosin/muuntaja/wiki/Configuration for details.
https://github.com/metosin/muuntaja/blob/master/doc/Configuration.md for details.
- **:middleware** vector of extra middleware to be applied last (just before the handler).
Expand Down Expand Up @@ -303,7 +303,7 @@
- **:formats** for Muuntaja middleware. Value can be a valid muuntaja options-map,
a Muuntaja instance or nil (to unmount it). See
https://github.com/metosin/muuntaja/wiki/Configuration for details."
https://github.com/metosin/muuntaja/blob/master/doc/Configuration.md for details."
([handler]
(wrap-format handler {:formats ::default}))
([handler options]
Expand Down

0 comments on commit b0c0839

Please sign in to comment.