Skip to content

Commit 251ccd2

Browse files
committed
Hotfix for full bool null error
1 parent 75d43a2 commit 251ccd2

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.0.15
2+
Fixed 'full' bool issue
3+
14
## 1.0.14
25
Corrected delete & path issue
36
Added Geo queries

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Want to get involved? Join our Slack channel and help out! (http://flutter-parse
1313
To install, either add to your pubspec.yaml
1414
```
1515
dependencies:
16-
parse_server_sdk: ^1.0.14
16+
parse_server_sdk: ^1.0.15
1717
```
1818
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.
1919

lib/src/base/parse_constants.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
part of flutter_parse_sdk;
22

33
// Library
4-
const String keySdkVersion = '1.0.14';
4+
const String keySdkVersion = '1.0.15';
55
const String keyLibraryName = 'Flutter Parse SDK';
66

77
// End Points

lib/src/utils/parse_encoder.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ dynamic dateTimeEncoder(dynamic item) {
99
}
1010

1111
/// Custom json encoder for types related to parse
12-
dynamic parseEncode(dynamic value, {bool full = false}) {
12+
dynamic parseEncode(dynamic value, {bool full}) {
13+
full ??= false;
14+
1315
if (value is DateTime) return _encodeDate(value);
1416

1517
if (value is List) {

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: parse_server_sdk
22
description: Flutter plugin for Parse Server, (https://parseplatform.org), (https://back4app.com)
3-
version: 1.0.14
3+
version: 1.0.15
44
homepage: https://github.com/phillwiggins/flutter_parse_sdk
55
author: PhillWiggins <[email protected]>
66

0 commit comments

Comments
 (0)