-
-
Notifications
You must be signed in to change notification settings - Fork 205
ParseRelation#query - Unhandled Exception: type 'ParseObject' is not a subtype of type * #696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for opening this issue!
|
other BUG
|
Is my usage wrong? The ParseObject's Parse-SDK-Flutter/packages/dart/lib/src/objects/parse_base.dart Lines 188 to 204 in 1114232
Is it necessary to save data to void set<T>(String key, T value, {bool forceUpdate = true}) {
// if (_getObjectData().containsKey(key)) {
// if (_getObjectData()[key] == value && !forceUpdate) {
// return;
// }
// _getObjectData()[key] =
// ParseMergeTool().mergeWithPrevious(_unsavedChanges[key], value);
// } else {
// _getObjectData()[key] = value;
// }
_unsavedChanges[key] = ParseMergeTool().mergeWithPrevious(_unsavedChanges[key], value);
} |
### Bug Fixes * Old version of connectivity_plus package ([parse-community#717](parse-community#717)) * package_info_plus not work in web ([parse-community#714](parse-community#714)) * MissingPluginException (No implementation found for method getAll) ([parse-community#712](parse-community#712)) * Query fails for subclassed Parse object in Parse relation ([parse-community#697](parse-community#697)) * ParseRelation#query - Unhandled Exception: type 'ParseObject' is not a subtype of type ([parse-community#696](parse-community#696)) * Error in progressCallback ([parse-community#679](parse-community#679)) * first: Correct return type ([parse-community#661](parse-community#661)) * ParseLiveListWidget MongoError ([parse-community#653](parse-community#653)) * General improvements * Updated dependencies * Fix Label Platform Web Support in pub.dev - Refactor path_provider access
Hey guys,
I downloaded the repo and tried to see if the bug was been resolved, but unfortunately, it isn't. I tried both the HEAD and #762 versions of the code, but nothing worked. Can you help me? Thanks a lot for your work!
|
This reverts commit 4e48925
Fix via #860 |
New Issue Checklist
Issue Description
When i get a ParseRelation(
relation
) from a subClass of ParseObject, then build a QueryBuilder(queryBuilder
) byrelation.getQuery()
, and invokebuilder.query<Wallet>()
to get a response. at this time i get some error.Steps to reproduce
Actual Outcome
Expected Outcome
query success and get a list of Wallet
Environment
Parse Flutter SDK
3.1.0
android
Server
3.1.0
Logs
None
The text was updated successfully, but these errors were encountered: