Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

The Contact constructor should not set id / lastUpdated attributes #60

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

cdumez
Copy link

@cdumez cdumez commented Dec 16, 2013

The Contact constructor should not set id / lastUpdated attributes. Those should be
initially null and generate asynchronously by the call to ContactManager.save()
because this is when the implementation actually interacts with the database. The
specification actually already states that the save() method will set the id and
lastUpdated attributes on the contact that is asynchronously returned.

This issue was reported by Huang Deqing [email protected].

The Contact constructor should not set id / lastUpdated attributes. Those should be
initially null and generate asynchronously by the call to ContactManager.save()
because this is when the implementation actually interacts with the database. The
specification actually already states that the save() method will set the id and
lastUpdated attributes on the contact that is asynchronously returned.

This issue was reported by Huang Deqing <[email protected]>.
@cdumez
Copy link
Author

cdumez commented Apr 4, 2014

Any update on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant