mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-25 14:10:06 +01:00
2.6 KiB
2.6 KiB
name | about | title | labels | assignees |
---|---|---|---|---|
New sprint issue | ⚠️ Should only be used by the engine team ⚠️ |
Related product team resources: PRD (internal only) Related product discussion: Related spec: WIP
Motivation
Usage
TODO
- Release a prototype
- If prototype validated, merge changes into
main
- Update the spec
Reminders when modifying the Setting API
- Ensure the new setting route is at least tested by the
test_setting_routes
macro - Ensure Analytics are fully implemented
/settings/my-new-setting
configurated in themake_setting_routes
macro- global
/settings
route configurated in theupdate_all
function
- Ensure the dump serializing is consistent with the
/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
- ⚠️ 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) - The setting cannot be set when the feature is disabled, either by the main settings route or the subroute (see
validate_settings
function) - If possible, the setting is reset when the feature is disabled (hard if it requires reindexing)