Should details field of settings tasks have all the settings #387
bidoubiwa
started this conversation in
Feedback & Feature Proposal
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When making a settings update on the main
POST /indexes/x/settings
route (not the sub routes) the details field contains the field that have been updated:For example when only updating the searchableAttribute and the stopWords this is what is contained in the details field:
It is very concise to know what you have updated.
The problem lies in typed language where fields can not disappear. They either have a value or they are null.
In our case the previous example returns this in
swift
This becomes misleading as it gives the impression that the other fields have been overwritten and not partially updated.
I have no opinion on the question but I thought I may be interesting to raise the problem!
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions