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

Appearance settings

Implicit param converter seems to not work anymore 4.2.2 #29925

Copy link
Copy link
Closed
@fabienlem

Description

@fabienlem
Issue body actions

Symfony version(s) affected: 4.2.2

Hello!

Description
I'm in pain to make the well known implicit ParamConverter trick work with Symfony 4.2.2:

/**
 * @Route("/{id}", name="admin_post_show")
 */
public function show(Post $post)

It tells that the Post argument cannot be autowired.

How to reproduce
Just follow the exemple given in the best practices guide.

Possible Solution
No idea, sorry!

Additional context
Could relate to #29819 (not sure as the ticket is closed).

Thank you for your feedback!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.