parse-community / Parse-SDK-Flutter

The Dart/Flutter SDK for Parse Platform
https://parseplatform.org
Apache License 2.0
575 stars 186 forks source link

ParseResponse response.remove error #942

Closed xanderelsmith closed 1 year ago

xanderelsmith commented 1 year ago

Please has anyone worked with a parse backend?

I'm having issues with removing an object from a relation oh, im using a parse backend named back4app, having issues with remving a data in a relation

the code

ParseRelation relation = courseData.getRelation('linkedquiz'); if (contains == true) { print('hi'); relation.getQuery(); relation.remove(snapshot.data![index]); CustomWidgets.styledSnackBar( context: context, message: 'Successfully removed');

the error

_CastError (type '_Map<String, dynamic>' is not a subtype of type 'ParseRelation?' in type cast)

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

xanderelsmith commented 1 year ago

Resolved updates are in the latest version