Skip to content

Fix detail of "Requested resource already exists" error when creating with client generated id#406

Open
PieterJanVdb wants to merge 2 commits intoholidayextras:masterfrom
PieterJanVdb:feature/existing-client-generated-id-error
Open

Fix detail of "Requested resource already exists" error when creating with client generated id#406
PieterJanVdb wants to merge 2 commits intoholidayextras:masterfrom
PieterJanVdb:feature/existing-client-generated-id-error

Conversation

@PieterJanVdb
Copy link

@PieterJanVdb PieterJanVdb commented May 7, 2018

request.params.id would be undefined in the MemoryHandler during handler.create() as it's a POST. This uses the id that will always be on newResource.

@PieterJanVdb PieterJanVdb changed the title Feature/existing client generated id error Fix detail of "Requested resource already exists" error when creating with client generated id May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant