Code Generation
Maintainer thường phản hồi trong vòng 1 ngày
@anghelflorinm đang làm issue này rồi.
Từ ngày 17/10/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Description
Feature flags typically rely on hard coded strings to reference specific feature flags. This can be tedious to maintain in a codebase. Code generation can address this shortcoming by creating strongly typed flag accessors, minimizing configuration errors and providing a better developer experience. By generating these accessors, developers can avoid issues related to incorrect flag names or types, resulting in more reliable and maintainable code.
Goals
- Establish a standardized flag manifest format that can be easily converted from existing configurations.
- JSON Schema (source of truth)
- Auto-gen docs from schema and clarifying docs
- Develop a CLI tool to generate strongly typed flag accessors for multiple programming languages.
- Create support for Java, JavaScript, Go, and Markdown
- Create a format that allows for future extensions and modularization of flags.
- Simply adding support for new languages
- Reduce boilerplate
- Standardize templates format
- Simply adding support for new languages
- Create contributing documentation
Non-goals
- The initial scope does not include creating tools to convert provider-specific configurations to the new flag manifest format.
- The project won't initially focus on validating flag configurations for consistency with the flag manifest.
- Create prototype prior to a stable release
- The project does not aim to create a general-purpose configuration tool for feature flags beyond the scope of the codegen tool.
Resources
- Ngôn ngữ chính
- Go
- Star
- 63
- Fork
- 22
- Merge trung bình
- 1 giờ 10 phút
- Pull request đã merge (30 ngày)
- 24
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của open-feature/cli
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 70/100
open-feature/cli#239 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
open-feature/cli#247 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
open-feature/cli#229 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
open-feature/cli#210 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add support for installing openfeature CLI via HomebrewCó thể làm lại được @kriscoleman đã nhận 204 ngày trước và không có pull request nào đang mở. Đang mở
open-feature/cli#197 · 3 bình luận · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của open-feature/cli
Issue tương tự
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:session-state issue-rating: 🦞 diamond lobster no-stale P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
openclaw/wacli#503 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 81/100
apache/rocketmq-dashboard#6895 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
agent-butler-finding chore
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
jordansmall/spindrift#5466 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
open-telemetry/opentelemetry-go-compile-instrumentation#1507 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 87/100
777genius/agent-notifications#490 ·
Maintainer thường phản hồi trong vòng 1 ngày