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

[FR][DX] Add resolved parameter values on container:debug #30692

Copy link
Copy link
Closed
@kiler129

Description

@kiler129
Issue body actions

Description
The debug:container --parameter is a very useful tool. However I think it should also dump resolved value for dynamic parameters and not just the raw configured value.

Example
Currently it the output looks like the following:

$ bin/console debug:container --parameter router.request_context.host
 ----------------------------- ----------------------------- 
  Parameter                     Value                        
 ----------------------------- ----------------------------- 
  router.request_context.host   %env(resolve:DEFAULT_HOST)%  
 ----------------------------- ----------------------------- 

I suggest that the output should be changed to:

$ bin/console debug:container --parameter router.request_context.host
 ----------------------------- ----------------------------- ----------------- 
  Parameter                     Configured Value              Computed Value           
 ----------------------------- ----------------------------- ----------------- 
  router.request_context.host   %env(resolve:DEFAULT_HOST)%   www.example.com
 ----------------------------- ----------------------------- -----------------

WDYT?

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.