Skip to content

[symfony bundle] The env "resolve:ENQUEUE_DSN" var is not defined #375

Closed
@jralph

Description

@jralph

When using the resolve ability with symfony 4's advanced env settings I am getting this error

[LogicException]
  The env "resolve:ENQUEUE_DSN" var is not defined

This is being thrown from Enqueue\Symfony\DefaultTransportFactory at line 160.

This appears to only be thrown when I try to use %env(resolve:ENQUEUE_DSN)% in the config. Using an environment variable without resolve works, but my use case requires a dynamic variable.

Is there any fix for this and has this been noticed before? I noticed there is a TODO: We'll have to come up with a better solution. on the method, I'm guessing this is related. If so, is there any progress on a solution at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions