Skip to content

Simplify updating object #408

Open
Open
@mtrezza

Description

@mtrezza

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$100Bounty applies for fixing this issue (Parse Bounty Program)type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions