Skip to content

for claude ship a change end to end - #25

Open
chadvincent88 wants to merge 4 commits into
mate-academy:mainfrom
chadvincent88:main
Open

for claude ship a change end to end#25
chadvincent88 wants to merge 4 commits into
mate-academy:mainfrom
chadvincent88:main

Conversation

@chadvincent88

Copy link
Copy Markdown

No description provided.

Adds an updateUser(id, { name, email }) function alongside the existing
getUserById/createUser helpers, so the update-user route can go through
the store rather than touching the users array directly.
Implements the update-user endpoint: validates name/email are present
(400 if not), returns 404 for an unknown id, and otherwise updates the
user via the store and returns it. Turns the update-user tests green.
Write-up of the plan, model choice, commit split, and review for the
update-user endpoint.
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