Skip to content

Conversation

@mbfakourii
Copy link
Member

@mbfakourii mbfakourii commented Oct 7, 2023

Pull Request

Issue

Added context in the save and create and update functions of the ParseObject class.

Closes: #672

Approach

How to use:

ParseObject object = ParseObject(className);
.
.
.
object.save(context: {
    "key","value"
});

Tasks

  • Add tests
  • Add changes to documentation (guides, repository pages, code comments)

@parse-github-assistant
Copy link

Thanks for opening this pull request!

@mbfakourii mbfakourii requested a review from a team October 7, 2023 14:12
@codecov
Copy link

codecov bot commented Oct 7, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (088bfbc) 39.60% compared to head (33b761f) 39.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #970      +/-   ##
==========================================
+ Coverage   39.60%   39.64%   +0.04%     
==========================================
  Files          60       60              
  Lines        3333     3337       +4     
==========================================
+ Hits         1320     1323       +3     
- Misses       2013     2014       +1     
Files Coverage Δ
packages/dart/lib/src/objects/parse_file_base.dart 68.75% <ø> (ø)
...kages/dart/lib/src/objects/parse_installation.dart 28.92% <ø> (ø)
packages/dart/lib/src/objects/parse_user.dart 1.27% <ø> (ø)
packages/dart/lib/src/objects/parse_object.dart 94.90% <80.00%> (-0.67%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mbfakourii
Copy link
Member Author

mbfakourii commented Oct 7, 2023

The error related to Test Flutter beta has been resolved in this PR

Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a changelog entry?

@mbfakourii
Copy link
Member Author

Could you add a changelog entry?

Done

mtrezza
mtrezza previously approved these changes Oct 9, 2023
Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Waiting for #969 to be merged.

@mtrezza mtrezza merged commit 21ce56f into parse-community:master Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cloud code context availability in Parse-SDK-Flutter

2 participants