Add PATCH /venue/:id (the honest verb for our partial-merge update) - #1015
Merged
JoshuaVSherman merged 2 commits intoJul 30, 2026
Merged
Conversation
JoshuaVSherman
marked this pull request as ready for review
July 30, 2026 21:56
JoshuaVSherman
deleted the
agy/990-add-patch-venue-id-the-honest-verb-for-o
branch
July 30, 2026 21:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PATCH /venue/:idroute insrc/model/venue/venue-router.tsto direct tocontroller.updateVenue.PUT /venue/:idworking with identical behavior and validation rules (Venue addresses: normalize on write (USPS Pub 28) and require one on creation #987 address rules, partial-merge semantics).test/unit/venue/venue-router.spec.tsunit test suite covering bothPATCHandPUTHTTP methods hitting the same handler.AGENTS.mdcontext file.package.jsonfrom2.10.3to2.11.0(first commit).Closes #990
How to test locally
npx vitest run test/unit/venue/venue-router.spec.tsto verifyPATCH /venue/:idandPUT /venue/:idendpoints pass all partial update and address validation tests.npm testto verify linting (eslint ./src), duplication checks (jscpd), typechecking (tsc --noEmit), unit tests (vitest), and coverage thresholds (90/90/80/80) pass cleanly.Test evidence
🤖 Work by agy — Gemini 3.6 Flash (High)