You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
Non-goals
Resources
The text was updated successfully, but these errors were encountered: