Let's say we have a collection called Users and it has an attribute called private which has one-to-one relation with PrivateUserInfo collection.
Users collection (parent) -> private attribute -> PrivateUserInfo collection (child)
A user has read access on Users collection but not on PrivateUserInfo (child) collection. There is an inconsistency on how this child attribute (private) is returned when calling getDocument vs listDocuments on Users collections.
✅ listDocuments: private -> null
❌ getDocument: private -> []
Ideally as this is one-to-one relationship, we expect the child attribute to be either null or Map but due to this inconsistency, it results in
List<dynamic>' is not a subtype of type 'Map<String, dynamic> in type cast in Flutter.
Recommended threads
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard
- Project Paused
I am the developer of a project and the admin is not able to login into their account for some reason and I can't change the status of the project due to role r...
- what happened with 'never paused' ????
I can already imagine how annoying this is going to be...