zenstack 2.4.1 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/res/stdlib.zmodel CHANGED
@@ -633,7 +633,7 @@ attribute @lte(_ value: Int, _ message: String?) @@@targetField([IntField, Float
633
633
  /**
634
634
  * Validates the entity with a complex condition.
635
635
  */
636
- attribute @@validate(_ value: Boolean, _ message: String?) @@@validation
636
+ attribute @@validate(_ value: Boolean, _ message: String?, _ path: String[]?) @@@validation
637
637
 
638
638
  /**
639
639
  * Validates length of a string field.