Code Generation
@anghelflorinm がすでに取り組んでいます。
2024年10月17日 から。
評価
この issue はまだ評価されていません。
説明
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
- 主要言語
- Go
- スター
- 63
- フォーク
- 22
- 平均マージ
- 1時間 27分
- マージ済み PR(30日)
- 19
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
open-feature/cli のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 70/100
open-feature/cli#239 · コメント 1 件 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
open-feature/cli#247 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
open-feature/cli#229 · コメント 3 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
open-feature/cli#210 · コメント 1 件 ·
-
open-feature/cli#197 · コメント 3 件 · リアクション 1 件 · 担当者 1 名 ·
open-feature/cli の issue をすべて見る
似ている issue
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
microsoft/agent-framework-go#1179 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
infiniflow/ragflow#20223 · リアクション 1 件 ·
-
bug needs triage pkg/translator/faro
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · コメント 1 件 ·