mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 13:37:40 +08:00

Why this change? For a schema like this: ``` schema = { name: "section", properties: { category_property: { type: "categories", required: true, }, }, } ``` When the value of the property is set to an empty array, we are not raising an error which we should because the property is marked as required.