Labels: config, symfony, bug
Context: Symfony 6.4 with Dotenv component
Description:
When initializing the Openapi SDK in a Symfony service during kernel boot, the .env values are not yet loaded, causing missing credentials or base URL.
Expected:
Defer initialization until after environment variables are fully resolved (e.g. during container compilation).
Impact:
Impossible to use different API keys for dev/staging/prod environments.