Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Symfony: Environment variables not loaded before client initialization

Đang mở
#7 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php, symfony
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Start by locating the SDK’s Symfony integration and service initialization entry points, then trace when environment variables are resolved relative to client construction. Confirm the lifecycle behavior with the Symfony 6.4 and Dotenv context described in the issue. Done means credentials and the base URL are available when the client initializes across dev, staging, and production environments.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

good first issue help wanted

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.

Ngôn ngữ chính
PHP
Star
20
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openapi/openapi-php-sdk

Tất cả issue của openapi/openapi-php-sdk

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.