Skip to content

Commit

Permalink
On coercion error, pass down decoded value instead of input value
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-yuxuan committed Oct 27, 2022
1 parent e844955 commit d9a4bea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/reitit-core/src/reitit/coercion.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
(into {} result)
{:type ::request-coercion
:coercion coercion
:value value
:in [:request in]
:request request}))))

Expand All @@ -61,7 +60,6 @@
(into {} result)
{:type ::response-coercion
:coercion coercion
:value value
:in [:response :body]
:request request
:response response}))))
Expand Down

0 comments on commit d9a4bea

Please sign in to comment.