Skip to content

Version 1.0.7 - Some items now return #39

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

Merged
merged 1 commit into from
Jan 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 89 additions & 55 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.7

Some items now return a response rather than a ParseObject

## 1.0.6

BREAK FIX - Fixed ParseUser return type so now returns ParseResponse
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Want to get involved? Join our Slack channel and help out! (http://flutter-parse
To install, either add to your pubspec.yaml
```
dependencies:
parse_server_sdk: ^1.0.6
parse_server_sdk: ^1.0.7
```
or clone this repository and add to your project. As this is an early development with multiple contributors, it is probably best to download/clone and keep updating as an when a new feature is added.

Expand Down Expand Up @@ -157,7 +157,7 @@ You can now save an object by calling .pin() on an instance of an object
dietPlan.pin();
```

and to retreive it
and to retrieve it

```
var dietPlan = DietPlan().fromPin('OBJECT ID OF OBJECT');
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class _MyAppState extends State<MyApp> {
if (response.success) user = response.result;

var queryBuilder = QueryBuilder<ParseUser>(ParseUser.forQuery())
..whereStartsWith(ParseUser.keyUsername, 'phillw');;
..whereStartsWith(ParseUser.keyUsername, 'phillw');

var apiResponse = await queryBuilder.query();
if (apiResponse.success) user = response.result;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/objects/parse_response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ParseResponse {
} else if (apiResponse.body == "OK"){
return _handleSuccessWithNoResults(parseResponse, 2, "Successful request");
} else if (returnAsResult){
return _handleSuccess<T>(parseResponse, object, apiResponse.body);
return _handleSuccessWithoutParseObject(parseResponse, object, apiResponse.body);
} else {
return _handleSuccess<T>(parseResponse, object, apiResponse.body);
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: parse_server_sdk
description: Flutter plugin for Parse Server, (https://parseplatform.org), (https://back4app.com)
version: 1.0.6
version: 1.0.7
homepage: https://github.com/phillwiggins/flutter_parse_sdk
author: PhillWiggins <[email protected]>

Expand Down