Skip to content

chore(versioninfo): natural-case the create-success message#295

Merged
CryptoJones merged 1 commit into
masterfrom
chore/versioninfo-create-message-consistency
May 19, 2026
Merged

chore(versioninfo): natural-case the create-success message#295
CryptoJones merged 1 commit into
masterfrom
chore/versioninfo-create-message-consistency

Conversation

@CryptoJones
Copy link
Copy Markdown
Owner

Summary

versioninfocontroller.create returned message: "VersionInfo created." — the CamelCase model name. Every other entity's create handler uses natural English ("Customer created.", "Time entry created.", "PO vendor created.", etc.). VersionInfo was the only outlier.

Switch to "Version info created." to match the rest of the API surface.

Test plan

  • grep -rn "VersionInfo created" in tests/ returned no hits — no test asserts on the literal old string.
  • npm run lint && npm test — 761 passing.

Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/

The create handler returned \`message: "VersionInfo created."\` —
the CamelCase model name. Every other entity's create handler uses
natural English: "Customer created.", "Time entry created.",
"PO vendor created.", etc. VersionInfo was the only outlier.

Switch to "Version info created." to match the rest of the API
surface. Verified via grep that no tests assert on the literal
old string, so the change is safe.

No behavior change beyond the message text. 761 tests still pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CryptoJones CryptoJones merged commit 2e59b2b into master May 19, 2026
3 checks passed
@CryptoJones CryptoJones deleted the chore/versioninfo-create-message-consistency branch May 19, 2026 16:28
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