KuromoryOriginal post
Rank 2: Process
I use the dart-3.3 runtime for my functions and the dart_appwrite (v12.1.0) package for some user changes. So when I for example use _users.create('foo@foo.com') I get the exception that String is not a subtype of type Map<String,dynamic> where the sdk trys to use User.fromMap(req.data)... it worked in 1.5.11 so is there a migration error or do I need to change some settings?
Summary
Issue: Developers are facing datatype errors in appwrite SDK 1.6.0 when using functions like `users.create`. The error "type 'String' is not a subtype of type 'Map<String, dynamic>'" is observed on upgrading from SDK 1.5.11.
Solution: This error might be due to changes in SDK. In version 1.6.0, the function `create` expects a Map<String, dynamic> type instead of a string. Developers need to update their code to pass the correct data type when calling `users.create`.