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 diff --git a/README.md b/README.md index 3de7ab640..7de53539c 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,30 @@ -

- Parse Logo - -

+# 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) +[![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 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); }