Skip to content

検索条件の変換処理をsearch-condition.tsへ集約 - #261

Merged
deflis merged 1 commit into
masterfrom
codex/consolidate-search-conditions
Nov 1, 2026
Merged

deflis merged 1 commit into
masterfrom
codex/consolidate-search-conditions

Conversation

@deflis

@deflis deflis commented Nov 1, 2026

Copy link
Copy Markdown
Owner

検索条件の変換がビルダーの static メソッド、各検索メソッド、util に分散していたため、src/util/search-condition.ts に集約します。ビルダーは変換結果をパラメータに設定する形に統一します。

  • 複数指定・数値条件・日時条件の変換入口を整理し、通常検索・R18検索・ユーザー検索から共通利用
  • SearchBuilderBase の protected static メソッド distinct・array2string を削除(継承先で利用している場合は対応が必要)
  • 既存のクエリ出力・検証仕様を維持し、無効な日時の回帰テストを追加

検証: pnpm run check 通過(lint・型チェック・テスト781件成功、3件スキップ)。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T17:02:50.319844Z 4546932 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@deflis
deflis merged commit 1941f1e into master Nov 1, 2026
4 checks passed
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