Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options for form were not passed through #736

Merged
merged 1 commit into from Oct 26, 2015

Conversation

BenjaminPaap
Copy link
Contributor

With current master I noticed, that options given in an annotation are not passed through to the form instance any more. This worked for me since recent composer update. For me, this small change seems to solve the problem.

Just to give a little more detail, my annotation for a controller looked like this one:

/**
 * @ApiDoc(
 *     section = "Current User",
 *     input = {
 *         "class" = "AppBundle\Form\User\AddressForm",
 *         "options" = {"disableTransformer" = true},
 *         "name" = ""
 *     },
 *     statusCodes = {
 *         201 = "Address created"
 *     }
 * )
 */

willdurand added a commit that referenced this pull request Oct 26, 2015
Options for form were not passed through
@willdurand willdurand merged commit 329e226 into nelmio:master Oct 26, 2015
@willdurand
Copy link
Collaborator

thank you!

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.

None yet

2 participants