design_patterns-horizontal_versioning
OfficialCoordinate versioned data schemas across versions.
Software Engineering#versioning#design-patterns#software-architecture#data-migration#upgrade-path#coder-registration#typed-blob
Authoramarbel-llc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Managing horizontal versioning of persistent data structures is complex: you need to maintain multiple concrete versions, upgrade paths, and a robust serialization strategy to ensure backward compatibility.
Core Features & Use Cases
- One interface, many versions: each version is a separate struct implementing the same behavior.
- Clear upgrade paths: previous versions implement Upgrade() to the next version, enabling forward-compatibility and safe migrations.
- Type-safe serialization: use registered type strings and coders to deserialize into the correct concrete version.
Quick Start
Create a new version file (e.g., v3.go), implement Upgrade() from the previous version, register the new type string, and extend the coder map to enable serialization.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: design_patterns-horizontal_versioning Download link: https://github.com/amarbel-llc/dodder/archive/main.zip#design-patterns-horizontal-versioning Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.