3 Repos
Enum members whose values are determined by runtime expressions rather than static initialization.
Distinct from Enum Definitions: Distinct from Enum Definitions: covers runtime-computed values, not static enum definitions.
Explore 3 awesome GitHub repositories matching data & databases · Computed Enum Members. Refine with filters or upvote what's useful.
The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source.
Describes a TypeScript feature for computing enum member values at runtime.
TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from a single source of truth. It functions as a protocol-agnostic API designer that models REST, gRPC, and other API protocols using a unified, extensible syntax, with a decorator-based metadata system for attaching metadata, validation rules, and lifecycle visibility to API models and operations. The compiler produces OpenAPI 3.0 specifications and other artifacts, and the tool supports declaring API versions and tracking changes to models, properties, and operations across releas
Assigns custom string, integer, or float values to enum members using colon syntax.
Mapperly is a C# source generator used for high-performance object-to-object mapping in .NET. It functions as a compile-time mapping library that produces the necessary transformation code during the build process, eliminating the need for runtime reflection when converting between domain models and data transfer objects. The tool distinguishes itself by providing type-safe diagnostic validation and strict mapping enforcement, emitting warnings for unmapped properties at compile time. It includes specialized capabilities for circular reference handling and deep cloning to maintain object iden
Translates values between enums, strings, and primitive types using custom naming or explicit value strategies.