Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Generation #32

Open
beeme1mr opened this issue Oct 17, 2024 · 0 comments
Open

Code Generation #32

beeme1mr opened this issue Oct 17, 2024 · 0 comments
Assignees

Comments

@beeme1mr
Copy link
Member

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.
  • Develop a CLI tool to generate strongly typed flag accessors for multiple programming languages.
  • Create a format that allows for future extensions and modularization of flags.

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.
  • The project does not aim to create a general-purpose configuration tool for feature flags beyond the scope of the codegen tool.

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants