
Hello everyone! 👋🏻
I have the following piece of code (client side, Flutter):
TypeScript
databaseId: 'id',
collectionId: 'id',
documentId: '');```
As you might have noticed, I'm passing an empty string as documentId. No such ID exists of course. But yet this code returns a document.
I expect the above code to return an exception. When I pass a random string as ID it indeed throws an exception, as it should be. But not when I pass an empty string (''). 🤔
Can anyone confirm that this is indeed a bug in Apprite?
TL;DR
Issue: Passing an empty string as documentId in AppWrite's getDocument function returns a document instead of throwing an exception.
Solution: This behavior is likely a bug in AppWrite. Consider reporting it to the developers for further investigation and resolution.Recommended threads
- my database attribute stuck in processin...
when i created attributes in collection 3 of those attributes become "processing", and they are not updating, the worst thing is that i cant even delete them s...
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- Forever Processing Issue
I encountered an issue when creating attributes in the collections . if you create an attribute of type string for example and choose a size of 200 or 250 or a...
