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

Update spec: updateResource with explicit id and OicResourceInit. #21

Closed
wants to merge 2 commits into from

Conversation

zolkis
Copy link
Contributor

@zolkis zolkis commented Sep 24, 2015

The old version of the updateResource(OicResource resource) method expected a resource with a valid id property, then it searched for the resource with that id, and updated the resource with the other properties of the resource parameter. This was confusing.

The new version provides the resourceId in a separate parameter, and an OicResourceInit object for the updated properties. This is more clear.

@zolkis zolkis closed this in f0026db Sep 24, 2015
@sanbeam sanbeam mentioned this pull request Oct 6, 2016
@sanbeam sanbeam mentioned this pull request Dec 17, 2016
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.

None yet

1 participant