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
- How to use appwrite types
I am using appwrite types --language ts ./types to generate the types yielding something like: ``` import type { Models } from 'node-appwrite'; // This file i...
 - dart appwrite 16.2.0 throws errors
Hi there, I just updated to 1.7.4 and also wanted to update the dart appwrite sdk to fit the appwrite version I am using now. So I updated to 16.2.0 and get th...
 - Server error on multiple requests
Hi there, I've updated from 1.5.7 to 1.7.4. I am using meilisearch for indexing and have therefore a dart script which syncs the appwrite data to meilisearch in...