Open Issues Need Help
View All on GitHubComprehensive Go protobuf toolkit for building type-safe HTTP APIs with automatic validation, OpenAPI docs, and low number of dependencies
Comprehensive Go protobuf toolkit for building type-safe HTTP APIs with automatic validation, OpenAPI docs, and low number of dependencies
AI Summary: This GitHub issue proposes refactoring a mock generator to improve maintainability and extensibility. The current `generateMockFieldAssignments` method is becoming unwieldy due to repetitive logic for different field types. The solution involves introducing a `FieldHandler` interface and a `FieldHandlerRegistry` to delegate field-specific generation, making the code cleaner and easier to extend.
Comprehensive Go protobuf toolkit for building type-safe HTTP APIs with automatic validation, OpenAPI docs, and low number of dependencies