Skip to content

Commit

Permalink
change middleware order so context is available in *request*
Browse files Browse the repository at this point in the history
  • Loading branch information
brettatoms committed Nov 17, 2024
1 parent 940002f commit 28b2606
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

* 0.3.38 -- 2024-11-17
* Change middleware order so context is available in *request*

* 0.3.34 -- 2024-11-10
* Allow extending the router via default handlers

Expand Down
4 changes: 2 additions & 2 deletions src/zodiac/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@
coercion/coerce-response-middleware
;; coercing request parameters
coercion/coerce-request-middleware
;; Bind the request globals
bind-globals-middleware
;; Populate the request context
[context-middleware context]
;; Bind the request globals
bind-globals-middleware
;; Vectors that are returned by handlers will be rendered to html
render-html-middleware
;; Handle exceptions
Expand Down

0 comments on commit 28b2606

Please # to comment.