Skip to content

Make min/full even nicer#13

Merged
stereosteve merged 2 commits intomainfrom
rj-nice
Apr 10, 2025
Merged

Make min/full even nicer#13
stereosteve merged 2 commits intomainfrom
rj-nice

Conversation

@raymondjacobson
Copy link
Copy Markdown
Member

@raymondjacobson raymondjacobson commented Apr 10, 2025

Add some unimplemented endpoints

g.Get("/users/:userId", app.v1User)
g.Get("/tracks/:trackId", app.v1Track)
g.Get("/playlists/:playlistId", app.v1Playlist)

(the singular versions of stuff that already exists)

And also make min/full even nicer. Now automatically everything full, gets a non-full, and does the min model type. No way to "forget" to add a non-full version now!

Tested=

make test
make apidiff

image

Copy link
Copy Markdown
Contributor

@stereosteve stereosteve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super nice.

@stereosteve stereosteve merged commit 9a8267c into main Apr 10, 2025
2 checks passed
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.

2 participants