
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
- When connecting to VCS (Version Control ...
Hello, when I try to define in my function the root path of a function I get this when I click "Update".
- queries.map is not a function
Query.createdBefore doesnt work ``` tables.updateRows({ databaseId: process.env.APPWRITE_DATABASE_ID, tableId: process.env.APPWRITE_TABLE_ID, ...
- Creating a relationship with nested obje...
{ "data": { "name": "DiDi", "type": "Software Development", "userJobs": [{ "$id": "68cbf1e2003612fb13ca", "j...
