812 B
812 B
id, title, status, assignee, created_date, labels, dependencies, references, priority
| id | title | status | assignee | created_date | labels | dependencies | references | priority | |
|---|---|---|---|---|---|---|---|---|---|
| ML-41 | ArtistInfo changeset uniquely casts :id field | Done | 2026-04-20 08:53 |
|
low |
Description
GitHub: created 2026-03-25 · updated 2026-03-25 · closed 2026-03-25
Description
ArtistInfo.changeset/2 (lib/music_library/artists/artist_info.ex:28) includes :id in its cast list. No other schema in the codebase casts its primary key field.
This is likely intentional since artist IDs come from MusicBrainz, but the pattern is unique and undocumented. If intentional, a comment explaining why would help.
Found during
Codebase consistency audit (2026-03-25)