1
Cerberusは2つのフィールドの要素が同じであることを検証する方法はありますか?2つのパラメータがCerberusを使用して同じ量の要素を持っていることを確認する
例えば、この文書は検証します:
{'a': [1, 2, 3], b: [4, 5, 6]}
そして、これはしません:
{'a': [1, 2, 3], 'b': [7, 8]}
は、これまでのところ、私はこのスキーマが出ている:
しかし、 2つのフィールドの等しい長さをテストするルールはありません。 custom ruleで