Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Code Generation

オープン
#32 コメント 0 件 リアクション 0 件 担当者 2 名 GitHub で見る

@anghelflorinm がすでに取り組んでいます。

2024年10月17日 から。

評価

この issue はまだ評価されていません。

説明

epic

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
  • 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

open-feature/cli のほかの issue

open-feature/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。