Skip to content
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

ParseUser save method takes context as parameter but it is not propagated to Object super.save #1008

Open
4 tasks done
valerycolong opened this issue Oct 2, 2024 · 2 comments
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@valerycolong
Copy link

valerycolong commented Oct 2, 2024

New Issue Checklist

Issue Description

ParseUser exposes a save method that takes a context but for now it seems the context is not being used.

Steps to reproduce

Call
await ParseUser.createUser(
username, // Username
password // Password
email
).save(context);

Actual Outcome

I do not observe the context parameter from the backend.

Expected Outcome

Context should be passed to request.context in the backend.

Environment

Parse Flutter SDK

  • SDK version: 7.0.0
  • Flutter version: 3.24.3
  • Dart version: 3.5.3
  • Operating system version: Windows 11

Server

  • Parse Server version: 7.2.0
Copy link

parse-github-assistant bot commented Oct 2, 2024

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza
Copy link
Member

mtrezza commented Oct 3, 2024

Could you please provide a full code example including the Cloud Code that you are using to test the context?

@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

2 participants