Parse-SDK-Flutter icon indicating copy to clipboard operation
Parse-SDK-Flutter copied to clipboard

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

Open valerycolong opened this issue 1 year ago • 2 comments

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

valerycolong avatar Oct 02 '24 18:10 valerycolong

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.

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

mtrezza avatar Oct 03 '24 19:10 mtrezza