🐛 Use ::sm/any instead of any for get-file-fragment rpc method schema

The usage of `any?` predicate as-is uses the standard any generator that
causes to generate java.lang.Character instances created that are not
properly serialiable to JSON. The `::sm/any` schema delimits the
generator to a commonly known serializable types on json.
This commit is contained in:
Andrey Antukh
2025-08-19 11:32:41 +02:00
parent 545c78eb74
commit 911ac263fa

View File

@@ -357,7 +357,7 @@
[:id ::sm/uuid]
[:file-id ::sm/uuid]
[:created-at ::ct/inst]
[:content any?]])
[:content ::sm/any]])
(def schema:get-file-fragment
[:map {:title "get-file-fragment"}