Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Custom Argument Resolving gets interrupted by Doctrine #8589

Closed
Labels
DXhasPRA Pull Request has already been submitted for this issue.
@Sengorius

Description

@Sengorius

I just create my own argument resolver for the user entity that is used in one of our projects and did this like explainedin the official documentation.

The class seem to work well, but Doctrine was faster to put one of his resolvers in between, so I only got an exception:Unable to guess how to get a Doctrine instance from the request information for parameter "user".

I found out that some configuration of the FrameworkExtraBundle was needed:

# app/config/config.ymlsensio_framework_extra:request:converters:trueauto_convert:false

This can be found in theParamConverter documentation, but a hint in the upper docs would be nice for upcoming developers. 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp