From eedbf8b4186bd1d3b36afa7edbf162d70991771b Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 19 Oct 2021 01:42:29 +0200 Subject: [PATCH 1/4] update templates --- .../ISSUE_TEMPLATE/---1-report-an-issue.md | 29 ++++--------------- .../ISSUE_TEMPLATE/---2-feature-request.md | 7 ++--- .github/pull_request_template.md | 27 +++++++++++++++++ 3 files changed, 35 insertions(+), 28 deletions(-) create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/---1-report-an-issue.md b/.github/ISSUE_TEMPLATE/---1-report-an-issue.md index 5cea0261a..dfe11cfda 100644 --- a/.github/ISSUE_TEMPLATE/---1-report-an-issue.md +++ b/.github/ISSUE_TEMPLATE/---1-report-an-issue.md @@ -9,16 +9,15 @@ assignees: '' ### New Issue Checklist - [ ] I am not disclosing a [vulnerability](https://github.com/parse-community/Parse-SDK-Flutter/security/policy). - [ ] I am not just asking a [question](https://github.com/parse-community/.github/blob/main/SUPPORT.md). - [ ] I have searched through [existing issues](https://github.com/parse-community/Parse-SDK-Flutter/issues?q=is%3Aissue). -- [ ] I can reproduce the issue with the [latest version of the Parse Flutter SDK](https://github.com/parse-community/Parse-SDK-Flutter/releases). -- [ ] I can reproduce the issue with the [latest version of Parse Server](https://github.com/parse-community/parse-server/releases). +- [ ] I can reproduce the issue with the latest version of [Parse Server](https://github.com/parse-community/parse-server/releases) and the [Parse Flutter SDK](https://github.com/parse-community/Parse-SDK-Flutter/releases). ### Issue Description @@ -27,36 +26,20 @@ assignees: '' ### Actual Outcome - + ### Expected Outcome - + -### Pull Request - - -- [ ] 🤩 I submitted a PR with a fix. - -### Environment +### Environment Parse Flutter SDK - SDK version: `FILL_THIS_OUT` -- Operating system: `FILL_THIS_OUT` - Operating system version: `FILL_THIS_OUT` Server - Parse Server version: `FILL_THIS_OUT` -- Operating system: `FILL_THIS_OUT` -- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): `FILL_THIS_OUT` - -Database -- System (MongoDB or Postgres): `FILL_THIS_OUT` -- Database version: `FILL_THIS_OUT` -- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): `FILL_THIS_OUT` ### Logs diff --git a/.github/ISSUE_TEMPLATE/---2-feature-request.md b/.github/ISSUE_TEMPLATE/---2-feature-request.md index 5e8932e26..77c685a50 100644 --- a/.github/ISSUE_TEMPLATE/---2-feature-request.md +++ b/.github/ISSUE_TEMPLATE/---2-feature-request.md @@ -9,9 +9,9 @@ assignees: '' ### New Feature / Enhancement Checklist - [ ] I am not disclosing a [vulnerability](https://github.com/parse-community/Parse-SDK-Flutter/security/policy). @@ -29,6 +29,3 @@ assignees: '' ### Alternatives / Workarounds - -### 3rd Party References - diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..e9e192b2b --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,27 @@ +### New Pull Request Checklist + + +- [ ] I am not disclosing a [vulnerability](https://github.com/parse-community/Parse-SDK-Flutter/security/policy). +- [ ] I am creating this PR in reference to an [issue](https://github.com/parse-community/Parse-SDK-Flutter/issues?q=is%3Aissue). + +### Issue Description + + +Related issue: #`FILL_THIS_OUT` + +### Approach + + +### TODOs before merging + + +- [ ] Add tests +- [ ] Add changes to documentation (guides, repository pages, in-code descriptions) +- [ ] A changelog entry From affded59ca24e77d354cad7e2ee2257218801f44 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 19 Oct 2021 01:42:37 +0200 Subject: [PATCH 2/4] update readme --- README.md | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 3de7ab640..702306a18 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,28 @@ -

- Parse Logo - -

+# Parse SDK for Flutter / Dart ---- +[![Backers on Open Collective](https://opencollective.com/parse-server/backers/badge.svg)][open-collective-link] +[![Sponsors on Open Collective](https://opencollective.com/parse-server/sponsors/badge.svg)][open-collective-link] +[![License](https://img.shields.io/badge/license-BSD-lightgrey.svg)](https://github.com/parse-community/Parse-SDK-Android/blob/master/LICENSE) +[![Forum](https://img.shields.io/discourse/https/community.parseplatform.org/topics.svg)](https://community.parseplatform.org/c/parse-server) +[![Twitter Follow](https://img.shields.io/twitter/follow/ParsePlatform.svg?label=Follow%20us%20on%20Twitter&style=social)](https://twitter.com/intent/follow?screen_name=ParsePlatform) -This repository contains packages that allow communication with a Parse Server, -(https://parseplatform.org) either hosted on your own server or another, -like (http://Back4App.com). +--- -This is a work in progress and we are consistently updating it. Please let us know if you think anything needs changing/adding, and more than ever, please do join in on this project. (Even if it is just to improve our documentation) +A library that gives you access to the powerful Parse Server backend from your Flutter app. For more information about Parse and its features, see [the website](https://parseplatform.org/), [getting started][guide], and [blog](https://blog.parseplatform.org/). ## Packages -These are the available packages in this repository. +These packages are available in this repository: + +| Package | Pub | Description | +|------------------------------------------------|------------------------------------------------------------------------------------------|-----------------| +| [parse_server_sdk](./packages/dart) | [![pub package](https://img.shields.io/pub/v/parse_server_sdk.svg)](pub-dart) | Dart package | +| [parse_server_sdk_flutter](./packages/flutter) | [![pub package](https://img.shields.io/pub/v/parse_server_sdk_flutter.svg)](pub-flutter) | Flutter package | -| Plugin | Pub | explanation| -|--------|-----|------------| -| [parse_server_sdk](./packages/dart) | [![pub package](https://img.shields.io/pub/v/parse_server_sdk.svg)](https://pub.dev/packages/parse_server_sdk) | a dart package that lets you communicate with the parse server | -| [parse_server_sdk_flutter](./packages/flutter) | [![pub package](https://img.shields.io/pub/v/parse_server_sdk_flutter.svg)](https://pub.dev/packages/parse_server_sdk_flutter) | a flutter package that lets you communicate with the parse server | +## Author +This project was originally authored by Phill Wiggins and since transferred to Parse Platform. -### Author:- -This project was authored by Phill Wiggins. You can contact me at phill.wiggins@gmail.com +[guide]: http://docs.parseplatform.org/android/guide/ +[open-collective-link]: https://opencollective.com/parse-server +[pub-dart]: https://pub.dev/packages/parse_server_sdk +[pub-flutter]: https://pub.dev/packages/parse_server_sdk_flutter From 00e3f1d0c90eec701196479a7a996a4e6369b4a0 Mon Sep 17 00:00:00 2001 From: Manuel Trezza <5673677+mtrezza@users.noreply.github.com> Date: Tue, 19 Oct 2021 01:48:48 +0200 Subject: [PATCH 3/4] update travis badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 702306a18..7de53539c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Parse SDK for Flutter / Dart +[![Build Status](https://app.travis-ci.com/parse-community/Parse-SDK-Flutter.svg?branch=master)](https://app.travis-ci.com/parse-community/Parse-SDK-Flutter) + [![Backers on Open Collective](https://opencollective.com/parse-server/backers/badge.svg)][open-collective-link] [![Sponsors on Open Collective](https://opencollective.com/parse-server/sponsors/badge.svg)][open-collective-link] [![License](https://img.shields.io/badge/license-BSD-lightgrey.svg)](https://github.com/parse-community/Parse-SDK-Android/blob/master/LICENSE) From 4829c367ba09e3bd75184f48a8d81cf81e8c83e8 Mon Sep 17 00:00:00 2001 From: KuTear <8605389+kutear@users.noreply.github.com> Date: Wed, 15 Dec 2021 02:54:39 +0800 Subject: [PATCH 4/4] fixed: Unhandled Exception: type 'ParseObject' is not a subtype of type 'CustomType' --- packages/dart/lib/src/objects/parse_relation.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dart/lib/src/objects/parse_relation.dart b/packages/dart/lib/src/objects/parse_relation.dart index 2f3721f8f..7509b2c5a 100644 --- a/packages/dart/lib/src/objects/parse_relation.dart +++ b/packages/dart/lib/src/objects/parse_relation.dart @@ -29,7 +29,7 @@ class ParseRelation { Set? _knownObjects = Set(); QueryBuilder getQuery() { - return QueryBuilder(ParseObject(_targetClass!)) + return QueryBuilder(ParseCoreData.instance.createObject(_targetClass!)) ..whereRelatedTo(_key, _parent!.parseClassName, _parentObjectId); }