Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Pass null as value when updating settings #217

Closed
curquiza opened this issue Jun 21, 2021 · 1 comment
Closed

Pass null as value when updating settings #217

curquiza opened this issue Jun 21, 2021 · 1 comment
Assignees
Labels
breaking Spec related Related to a spec (https://github.com/meilisearch/specifications/)

Comments

@curquiza
Copy link
Member

curquiza commented Jun 21, 2021

Spec related: https://github.com/meilisearch/specifications/pull/47/files

The user can pass the null value when updating the settings (using POST). This resets the setting to its default value.

In MeilISearch v0.20 this behavior is possible for all the settings except the synonyms and the stop-words. The v0.21.0 should make all the settings consistent by allowing the null value when updating.

Breaking for the integration team, not the @meilisearch/docs-team since it should not be documented

@curquiza curquiza added breaking Spec related Related to a spec (https://github.com/meilisearch/specifications/) labels Jun 21, 2021
@curquiza curquiza changed the title Pass null as value in settings Pass null as value when updating settings Jun 21, 2021
@curquiza
Copy link
Member Author

Already implemented!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking Spec related Related to a spec (https://github.com/meilisearch/specifications/)
Projects
None yet
Development

No branches or pull requests

2 participants