Skip to content

Conversation

@NobodysNightmare
Copy link
Contributor

Filters are now defined declaratively during tool definition. In addition to simple where-based filters (like the ones we've been using in SearchProject), we now also support using query filters that are defined for other purposes already. Though we keep supporting custom filtering, since pre-existing classes are often not available and necessary for very simple filtering operations.

As a side-find, specs for the ProjectStatusFilter have been extended.

Ticket

This is effectively code maintenance in the scope of https://community.openproject.org/wp/62781

@NobodysNightmare NobodysNightmare requested a review from a team January 13, 2026 08:34
Filters are now defined declaratively during tool definition.
In addition to simple where-based filters (like the ones we've been
using in SearchProject), we now also support using query filters
that are defined for other purposes already. Though we keep supporting
custom filtering, since pre-existing classes are often not available
and necessary for very simple filtering operations.

As a side-find, specs for the ProjectStatusFilter have been extended.
Copy link
Member

@Kharonus Kharonus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codewise I understand the change and find it readable. I have a question for the domain and the responsibilities, though. Maybe you have a quick answer for me?

@NobodysNightmare NobodysNightmare merged commit 7f936cc into dev Jan 22, 2026
17 of 18 checks passed
@NobodysNightmare NobodysNightmare deleted the mcp_tool_refactor branch January 22, 2026 15:50
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants