Skip to content

refactor(sync): use the shared required-string check - #102

Closed
ewanc26 wants to merge 1 commit into
mainfrom
work/sync-route-helpers
Closed

ewanc26 wants to merge 1 commit into
mainfrom
work/sync-route-helpers

Conversation

@ewanc26

@ewanc26 ewanc26 commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Refs #89 (the sync_routes.c part). Depends on the src/route_params.h header, which is also in #101; the two PRs add the identical file.

What this changes

Verification

  • ctest: 46/46 pass.
  • Rendered " is required" messages compared before and after: identical (9 before, 9 after).
  • The other four messages use different checks and are left alone.

Not covered: repo_routes.c, the account registry.

Docs

None needed: internal refactor with no user-facing behaviour, config or API change.

Changelog: none — internal refactor, no behaviour change.

🤖 Generated with Claude Code

Five handlers in sync_routes.c repeated the 400 InvalidRequest "<name> is
required" guard. They now call require_string from the shared
src/route_params.h. Rendered messages are unchanged (compared as a multiset,
9 before and 9 after). The other four messages in the file use different
checks and are left alone.

Refs #89

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@ewanc26

ewanc26 commented Oct 16, 2026

Copy link
Copy Markdown
Owner Author

Replaced by #112 (branch renamed to type/slug so the flow / conventions check passes). Same commits and content.

@ewanc26 ewanc26 closed this Oct 16, 2026
@ewanc26
ewanc26 deleted the work/sync-route-helpers branch October 16, 2026 17:14
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