Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Proposal implementation using the CodagRestFabricationBundle #40

Open
wants to merge 4 commits into
base: 2.3
Choose a base branch
from

Conversation

mjuchli
Copy link

@mjuchli mjuchli commented Dec 3, 2014

This shall be the proposal using the the RestFabricationBundle as mentioned here: https://groups.google.com/forum/#!topic/resting-with-symfony/UNaK4fFzVF0

In this sample project we can unfortunately just profit from a subset of the provided features:

  • FormHandler
  • Errorhandling with predefined exceptions

Due to the lack of the entity manager usage, unfortunately the DefaultDomainManager cannot be presented. In combination with multiple entities this would be one of the key benefits of this bundle. Even though I guess the current implementation will represent some parts of this particular designed workflow.

@@ -244,7 +247,8 @@ public function putNotesAction(Request $request, $id)
* @ApiDoc(
* resource = true,
* statusCodes={
* 204="Returned when successful"
* 204="Returned when successful",
* 404 = "Returned when the note is not found"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a 404 shouldnt happen here as PUT should create the note in the given location

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

2 participants