discourse/spec/fixtures/theme_settings
Alan Guo Xiang Tan 412b36cc93
FIX: Error when integer values are set as default of string type settings (#25898)
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.
2024-02-27 10:18:38 +08:00
..
invalid_settings.yaml DEV: Validate default value for type: objects theme settings (#25833) 2024-02-27 09:16:37 +08:00
json_schema_settings.yaml DEV: support json_schema in theme settings (#12294) 2021-03-10 20:15:04 -05:00
valid_settings.yaml FIX: Error when integer values are set as default of string type settings (#25898) 2024-02-27 10:18:38 +08:00