mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 22:06:33 +08:00
412b36cc93
Why this change? ``` some_setting: default: 0 type: string ``` A theme setting like the above will cause an error to be thrown on the server when importing the theme because the default would be parsed as an integer which caused an error to be thrown when we are validating the value of the setting. What does this change do? Convert the value to a string when working with string typed theme settings. |
||
---|---|---|
.. | ||
invalid_settings.yaml | ||
json_schema_settings.yaml | ||
valid_settings.yaml |