mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 14:49:29 +08:00

Why this change? This is a continuation of 8de869630fa51b4b2453a11cce316fc2da229a45. In our schema, we support the `min` and `max` validation rules like so: ``` some_objects_setting type: objects schema: name: some_object properties: id: type: integer validations: min: 5 max: 10 ``` While the validations used to validate the objects on the server side, we should also add client side validation for better UX.