Skip to content

feat: CE-5201: Add FilterSiteInput to device and device summary filters#184

Merged
Jackson Allen (jackson-allen-worlds) merged 1 commit into
mainfrom
CE-5201-be-filter-devices-by-site
May 15, 2026
Merged

feat: CE-5201: Add FilterSiteInput to device and device summary filters#184
Jackson Allen (jackson-allen-worlds) merged 1 commit into
mainfrom
CE-5201-be-filter-devices-by-site

Conversation

@jackson-allen-worlds
Copy link
Copy Markdown
Contributor

@jackson-allen-worlds Jackson Allen (jackson-allen-worlds) commented May 15, 2026

Summary

  • Expose a site: FilterSiteInput field on FilterDeviceInput and FilterDeviceSummaryInput so clients can filter devices and device summaries by site attributes (not just site ID).

Test plan

  • Schema compiles and generated Java models build cleanly
  • Query devices/deviceSummaries with a nested site filter and verify expected results

CE-5201

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 extends the GraphQL API contract and generated Java SDK models so device and device-summary filters can target nested site attributes via FilterSiteInput.

Changes:

  • Adds site: FilterSiteInput to FilterDeviceInput.
  • Adds site: FilterSiteInput to FilterDeviceSummaryInput.
  • Updates generated Java input models, builders, equality, and hash code handling for the new fields.

Reviewed changes

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

File Description
graphql/api/domains/devices/filter.graphqls Adds nested site filtering to device filters.
graphql/api/domains/summary/filter.graphqls Adds nested site filtering to device summary filters.
java/src/main/java/io/worlds/api/model/FilterDeviceInput.java Updates generated Java model for the new device site filter.
java/src/main/java/io/worlds/api/model/FilterDeviceSummaryInput.java Updates generated Java model for the new device summary site filter.

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

Comment thread java/src/main/java/io/worlds/api/model/FilterDeviceInput.java
@jackson-allen-worlds Jackson Allen (jackson-allen-worlds) merged commit c4336cd into main May 15, 2026
8 checks passed
@jackson-allen-worlds Jackson Allen (jackson-allen-worlds) deleted the CE-5201-be-filter-devices-by-site branch May 15, 2026 19:19
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.

3 participants