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

Simplify updating object #408

Open
3 tasks done
mtrezza opened this issue Sep 11, 2022 · 1 comment
Open
3 tasks done

Simplify updating object #408

mtrezza opened this issue Sep 11, 2022 · 1 comment
Labels
bounty:$100 Bounty applies for fixing this issue (Parse Bounty Program) type:feature New feature or improvement of existing feature

Comments

@mtrezza
Copy link
Member

mtrezza commented Sep 11, 2022

New Feature / Enhancement Checklist

Current Limitation

While #401 with its PR #406 was a great simplification when updating an object, it still requires special consideration when updating an object.

Specifically:

  • A developer still has to keep in mind that there is a special approach with obj.key.set(\.key, to: "value2") (see example) needed to only send updated keys to the server, and they cannot simply use obj.key = "value2".
  • The special method obj.key.set(\.key, to: "value2") contains a duplication of parameters; it requires a reference to key two times.

Feature / Enhancement Description

Further simplify to allow to use obj.key = "value2" without calling any special method.

Example Use Case

Example

Alternatives / Workarounds

Status quo

References

@parse-github-assistant
Copy link

parse-github-assistant bot commented Sep 11, 2022

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Sep 11, 2022
@mtrezza mtrezza added the bounty:$100 Bounty applies for fixing this issue (Parse Bounty Program) label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$100 Bounty applies for fixing this issue (Parse Bounty Program) type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

1 participant