Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to update a List using Partial.Update #261

Open
ygaitonde opened this issue Apr 13, 2021 · 0 comments
Open

Make it possible to update a List using Partial.Update #261

ygaitonde opened this issue Apr 13, 2021 · 0 comments

Comments

@ygaitonde
Copy link

Is your feature request related to a problem? Please describe 馃檹

I have an attribute which is stored on the record as a list of strings. I want to overwrite that list with another list of strings from my backend.

I can't update an Array attribute using the Kotlin client. I either have to use a JsonArray which results in the attribute being uploaded as attribute: { 'VALUE' : ['x'.'y','z'] } which I don't want. I ended up just using the Algolia HTTP API directly to work around this issue.

Describe the solution you'd like 馃
A clear and concise description of what you want to happen.

Allow Partial.Update to accept a List or Array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant