Skip to content

fix(genre-tree): align album and criteria update schemas with the API - #136

Merged
Andreas-Garcia merged 1 commit into
developfrom
feature/grow-api-v8-contract
Sep 30, 2026
Merged

Andreas-Garcia merged 1 commit into
developfrom
feature/grow-api-v8-contract

Conversation

@Andreas-Garcia

Copy link
Copy Markdown
Member

Summary

  • AlbumMinimumSchema.album_artists → albumArtists. Both the grow and hear APIs render camelCase, so zod silently dropped the field on every track.
  • CriteriaUpdateSchema.parent and updateGenreParent(uuid, parentUuid) now accept null, matching grow's criteria/input/put.py. A genre can be made a root again.

Found while checking grow-the-music-tree-frontend's contract against grow API v8.3.3.

Test plan

  • New CriteriaUpdateSchema test: { parent: null } parses.
  • pnpm lint && pnpm build. The vitest run had 3 timeouts under machine load (GenreTreeView, Rating, AuthPopup); they pass when rerun in isolation.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
app-kit-playground Error Error Sep 30, 2026 12:04am UTC

@Andreas-Garcia
Andreas-Garcia merged commit 139cfa6 into develop Sep 30, 2026
3 of 4 checks passed
@Andreas-Garcia
Andreas-Garcia deleted the feature/grow-api-v8-contract branch September 30, 2026 14:36

This branch had an error being deployed

1 failed deployment
Preview — 0e0ace68 Deployed Sep 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant