Skip to content

Split API search route validation#267

Merged
yvette-carlisle merged 1 commit into
mainfrom
xy/split-api-search-validation
Jun 29, 2026
Merged

Split API search route validation#267
yvette-carlisle merged 1 commit into
mainfrom
xy/split-api-search-validation

Conversation

@yvette-carlisle

Copy link
Copy Markdown
Member

Summary

  • Move API search payload/query validation helpers from routes/search.rs into routes/search/validation.rs.
  • Keep route handlers and #[utoipa::path] OpenAPI annotations in search.rs.
  • Preserve search create/raw/details validation semantics while reducing the parent route file size.

Validation

  • cargo make fmt-rust
  • cargo make check-rust
  • cargo make lint-vstyle
  • cargo make lint-rust
  • cargo make test-rust (370 passed, 92 skipped)
  • cargo make check (docs/fmt/check/clippy/vstyle/nextest; 370 passed, 92 skipped)
  • cargo make test-rust-integration (92 passed, 370 skipped)
  • cargo make check-trace-gate
  • git diff --check
  • git diff --cached --check
  • Fresh read-only skeptic review of staged diff: pass, no objections

Cleanup

  • Trace-gate Postgres was run in isolated elf-trace-gate compose project and removed with down -v --remove-orphans.
  • Generated trace gate files were deleted before commit.

…tion into a child module after strict validation.","authority":"manual"}
@yvette-carlisle yvette-carlisle merged commit 634811a into main Jun 29, 2026
12 checks passed
@yvette-carlisle yvette-carlisle deleted the xy/split-api-search-validation branch June 29, 2026 14:51
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