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
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:
obj.key.set(\.key, to: "value2")(see example) needed to only send updated keys to the server, and they cannot simply useobj.key = "value2".obj.key.set(\.key, to: "value2")contains a duplication of parameters; it requires a reference tokeytwo 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