[x] Ensure the dump serializing is consistent with the /settings route serializing, e.g., enums case can be different (camelCase in route and PascalCase in the dump)
Special cases when adding a setting for an experimental feature
[x] ⚠️ API stability: The setting does not appear on the main settings route when the feature has never been enabled (e.g. mark it Unset when returned from the index in this situation. See an example)
[x] The setting cannot be set when the feature is disabled, either by the main settings route or the subroute (see validate_settings function)
[x] If possible, the setting is reset when the feature is disabled (hard if it requires reindexing)
Related product team resources: [PRD]() (internal only) Related product discussion: Related spec: WIP
Motivation
Usage
TODO
main
Reminders when modifying the Setting API
test_setting_routes
macro/settings/my-new-setting
configurated in themake_setting_routes
macro/settings
route configurated in theupdate_all
function/settings
route serializing, e.g., enums case can be different (camelCase
in route andPascalCase
in the dump)Special cases when adding a setting for an experimental feature
Unset
when returned from the index in this situation. See an example)validate_settings
function)Impacted teams