Skip to content

Commit

Permalink
Use MessageShow instead of AsMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Sep 18, 2023
1 parent c4d0779 commit 4b6f75d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/schema.scala
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ object JsonValidationError:
case PatternMismatch(value: Text, pattern: Regex)

object Issue:
given AsMessage[Issue] =
given MessageShow[Issue] =
case JsonType(expected, found) =>
msg"expected JSON type $expected, but found $found"

Expand Down

0 comments on commit 4b6f75d

Please sign in to comment.