Open
Description
New Issue Checklist
- [ x] I am not disclosing a vulnerability.
- [ x] I am not just asking a question.
- [ x] I have searched through existing issues.
- [x ] I can reproduce the issue with the latest version of Parse Server and the Parse Flutter SDK.
Issue Description
In the Parse SDK flutter has this 'selectKeys' function which, besides being poorly documented, I believe is in conflict with another one already developed.
Some tests I performed did not return any values.
It would be possible for you to analyze whether this function is useful in Parse SDK flutter and what would be a more detailed description of its use or a brief example so that I can better understand how to use this function.
Steps to reproduce
void learningAboutB4aTestSelectKeys() async {
print('Start');
await initialize();
QueryBuilder<ParseObject> query =
QueryBuilder<ParseObject>(ParseObject('Table3'));
query.selectKeys('colB', 'a');
var parseResponse = await query.query();
if (parseResponse.success && parseResponse.results != null) {
for (var element in parseResponse.results!) {
ParseObject parseObject = element as ParseObject;
print('+++');
print(parseObject);
print('---');
}
}
print('End');
}
Future<void> initialize() async {
String applicationId = '...';
String clientKey = '...';
String serverUrl = 'https://parseapi.back4app.com';
await Parse().initialize(
applicationId,
serverUrl,
clientKey: clientKey,
debug: false,
);
if ((await Parse().healthCheck()).success) {
print('Back4app Connected.');
} else {
print('Back4app NOT Connected.');
print('Exit app.');
exit(0);
}
}
Actual Outcome
None
Expected Outcome
Unknown
Environment
parse_server_sdk: ^4.0.2
Parse Flutter SDK
- SDK version: parse_server_sdk: ^4.0.2
- Flutter version: 3.7.12
- Dart version: 2.19.6
- Operating system version: Linux
Server
- Parse Server version: 5.2.3 in back4app