Problem: I have an attribute of type Datetime, is not required, once I set that attribute value, Im not able to set it back to null if I need it . Is there a way to allow it to go back to null?
Does this apply to all attributes? Like integer, strings, etc?
it doessnt seem like it, but I havent done a big test
error will happen also on console
you cant set it to null even in the console I mean
console will definitely not work. How about via API/SDK?
I'll do some testing tomorrow morning and keep you posted, but I think it doesnt changes when I do it from my flutter app, but I need to review the code to make sure Im trying to set it as null
It would be helpful for us to know if it's included in the network request as null but it doesn't actually set the attribute to null
Hey! I was just able to test it, we can send it from the SDK with a null and the system will accepted, I'll set this as solved
[Solved] Cant set to null a datetime after adding a value
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Appwrite exception: user_unauthorized, t...
After refreshing the app it is working perfectly