Skip to content

feat: add the native collection search options transport - #548

Merged
Reilley64 merged 1 commit into
integration/mtgscan-273-rust-gpuifrom
draft/mtgscan-283-native-options-transport
Nov 20, 2026
Merged

Reilley64 merged 1 commit into
integration/mtgscan-273-rust-gpuifrom
draft/mtgscan-283-native-options-transport

Conversation

@Reilley64

Copy link
Copy Markdown
Owner

Summary

Part of MTGSCAN-283.

SessionCollectionService.searchOptions(accountID:)
  → current account access token
  → CollectionAPI through the existing URLSession
  → GET /api/v1/collection/search-options
  → existing CollectionSearchOptions DTO

The new read reuses the same account-bound transport as collection search. No production callers were added. The UI and server routes are unchanged. The options route still returns 404.

Evidence

  • Before: The native collection client had no standalone options read. The server had no options route.
  • After: Focused Swift transport tests passed against the generated input from feat: generate a native Collection search resource #547. They cover account refusal, request shape, DTO decoding, and unavailable responses. Strict Swift lint exited 0.
  • Independent Standards and Spec reviews passed with no requirements. Both Swift files match the reviewed source bytes after replay. No suite was rerun for publication.

Merge danger

Door: Two-way.

Blast radius: Transport.

This draft targets the #527 integration branch only. No post-merge steps for this patch.

@Reilley64
Reilley64 marked this pull request as ready for review November 20, 2026 08:56
@Reilley64
Reilley64 merged commit 8dcd378 into integration/mtgscan-273-rust-gpui Nov 20, 2026
7 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