Quality
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin null values.
For example:
When I send:
backgroundType=SOLID_COLOR, solidColorIndex=3
Appwrite correctly stores and returns:
backgroundType=SOLID_COLOR, solidColorIndex=3
So this works fine.
But when I update the same value to null and send:
backgroundType=SOLID_COLOR, solidColorIndex=null
Appwrite still returns:
backgroundType=SOLID_COLOR, solidColorIndex=3
So it looks like the SDK is not properly handling Kotlin null when updating an existing value.
Interestingly, if I send the string "null" instead of the actual null value, it updates correctly.
Could you please check how the Android SDK handles null values during updates?
Mainly I am doing this with upsert function. But I believe update function will also behave the same.