♻️ Add string length validation to backend RPC methods fields

This commit is contained in:
Andrey Antukh 2024-06-20 08:28:38 +02:00
parent 0721760900
commit 28c2197ba7
13 changed files with 31 additions and 29 deletions

View file

@ -873,7 +873,7 @@
(def ^:private schema:create-team-with-invitations
[:map {:title "create-team-with-invitations"}
[:name :string]
[:name [:string {:max 250}]]
[:features {:optional true} ::cfeat/features]
[:id {:optional true} ::sm/uuid]
[:emails ::sm/set-of-emails]