I have several documents saved in 1.3.7 where a required attribute is blank. I'm not sure how the value got to be blank in my code, but I am also wondering even if I had a bug where my code attempted to save that, how did appwrite manage to carry out the save and not reject the whole createdocument/updatedocument operation?
maybe it was made required after the fact. maybe it's an empty string rather than null
I never edited the attribute if that’s what you mean. It was set to be required before any data was added (the whole schema had been migrated from another instance). It says 0/36 for these blank ones. Could that still be an empty string?
yes, it could be an empty string
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- 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...