Status: Coming Soon
Track domain evolution over time using snapshots, compare versions with diffs, and generate migration plans.
Time: 45 minutes | Level: Intermediate
- Creating domain snapshots
- Comparing snapshots with DiffEngine
- Breaking vs. non-breaking changes
- Generating migration plans
- CLI tools for CI/CD integration
- Canonical JSON serialization
var writer = new SnapshotWriter();
var snapshot = writer.CreateSnapshot(manifest);
await snapshot.SaveAsync("snapshots/v1.json");var diff = diffEngine.Compare(snapshotV1, snapshotV2);
Console.WriteLine($"Breaking changes: {diff.HasBreakingChanges}");# Create snapshot
jd-domain snapshot --manifest domain.json --output ./snapshots
# Compare versions
jd-domain diff v1.json v2.json --format md
# Generate migration plan
jd-domain migrate-plan v1.json v2.json --output plan.mdAutomatically detected:
- Removed entities/properties
- Changed types
- Removed required fields
- Changed keys
Generated step-by-step:
- Add new properties
- Migrate data
- Remove old properties
- Understanding of versioning concepts
- Completion of Domain Modeling