Skip to content

feat: updated filters for campaigns discovery#836

Open
Dzeranov wants to merge 3 commits intodevelopfrom
dzeranov/834
Open

feat: updated filters for campaigns discovery#836
Dzeranov wants to merge 3 commits intodevelopfrom
dzeranov/834

Conversation

@Dzeranov
Copy link
Copy Markdown
Contributor

@Dzeranov Dzeranov commented Apr 3, 2026

Issue tracking

To close #834

Context behind the change

  • updated filters for campaigns discovery
  • bumped @hu-fi/subgraph-sdk

How has this been tested?

  • deployed locally

Release plan

Regular release

Potential risks; What to monitor; Rollback plan

N/A

Copilot AI review requested due to automatic review settings April 3, 2026 10:33
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Campaign Launcher server’s campaign discovery endpoint to support additional filtering (by campaign type and exchange) and aligns the subgraph client dependency with the required schema/fields.

Changes:

  • Add type and exchange filters to the campaigns discovery API (controller → service → subgraph query).
  • Extend campaign response data with cancellationRequestedAt.
  • Bump @hu-fi/subgraph-sdk to 3.0.0-beta.4.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
campaign-launcher/server/src/modules/campaigns/campaigns.dto.ts Adds new query params (type, exchange) and adds cancellationRequestedAt to the campaign DTO.
campaign-launcher/server/src/modules/campaigns/campaigns.controller.ts Wires new query params into the service filter object.
campaign-launcher/server/src/modules/campaigns/campaigns.service.ts Passes new type_in / exchange_in filters to the subgraph and maps cancellationRequestedAt.
campaign-launcher/server/package.json Updates @hu-fi/subgraph-sdk dependency version.
campaign-launcher/server/yarn.lock Locks updated @hu-fi/subgraph-sdk resolution/checksum.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Dzeranov Dzeranov requested a review from dnechay April 3, 2026 12: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.

2 participants