@@ -543,22 +543,22 @@ attribute @upper() @@@targetField([StringField]) @@@validation
543543/* *
544544 * Validates a number field is greater than the given value.
545545 */
546- attribute @gt(_ value: Int , _ message: String ?) @@@targetField([IntField, FloatField, DecimalField, BigIntField]) @@@validation
546+ attribute @gt(_ value: Any , _ message: String ?) @@@targetField([IntField, FloatField, DecimalField, BigIntField]) @@@validation
547547
548548/* *
549549 * Validates a number field is greater than or equal to the given value.
550550 */
551- attribute @gte(_ value: Int , _ message: String ?) @@@targetField([IntField, FloatField, DecimalField, BigIntField]) @@@validation
551+ attribute @gte(_ value: Any , _ message: String ?) @@@targetField([IntField, FloatField, DecimalField, BigIntField]) @@@validation
552552
553553/* *
554554 * Validates a number field is less than the given value.
555555 */
556- attribute @lt(_ value: Int , _ message: String ?) @@@targetField([IntField, FloatField, DecimalField, BigIntField]) @@@validation
556+ attribute @lt(_ value: Any , _ message: String ?) @@@targetField([IntField, FloatField, DecimalField, BigIntField]) @@@validation
557557
558558/* *
559559 * Validates a number field is less than or equal to the given value.
560560 */
561- attribute @lte(_ value: Int , _ message: String ?) @@@targetField([IntField, FloatField, DecimalField, BigIntField]) @@@validation
561+ attribute @lte(_ value: Any , _ message: String ?) @@@targetField([IntField, FloatField, DecimalField, BigIntField]) @@@validation
562562
563563/* *
564564 * Validates the entity with a complex condition.
0 commit comments