claude-memory/graph/solutions/fix-auto-draft-nested-api-parsing-7c1465.md
Cal Corum 34bb613c57 Add 20 retroactive edges and sync pending memory updates
- 20 new high-quality edges across 8 project clusters
- Edge types: BUILDS_ON, RELATED_TO, ALTERNATIVE_TO, REQUIRES
- Updated relation metadata on connected memories
- New episode entries and memory files from recent sessions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 23:34:07 -06:00

19 lines
800 B
Markdown

---
id: 7c146559-79b7-4254-84cf-89aa1bc6750a
type: solution
title: "Fix auto-draft nested API parsing"
tags: [major-domo, python, fix, draft, pydantic]
importance: 0.7
confidence: 0.8
created: "2025-12-11T18:53:18.129453+00:00"
updated: "2026-02-20T04:32:13.382771+00:00"
relations:
- target: 83dbebd0-b523-4e4d-9351-b1e4fd81999e
type: BUILDS_ON
direction: incoming
strength: 0.85
edge_id: cd4dce12-c777-4c55-8660-f1992ff0f243
---
DraftList.from_api_data() now properly calls Player.from_api_data() for nested player objects, ensuring player.team_id is extracted from the nested team object. Also fixed validate_cap_space() unpacking to accept all 3 return values. Bug: Auto-draft was marking all players as not available because player.team_id was None (None != 547 always True).