You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor!: replace direct query params with structured QueryOptions
- Replace individual paginator/filter/sorter parameters with structured
QueryOptions in service methods
- Introduce QueryOptions interface with fluent methods (InNamespace,
Match, Sort, Paginate, WithDeviceStatus)
- Update sessions and public keys service layer to accept
*requests.ListSessions, *requests.ListPublicKeys instead of
query.Paginator
- Refactor MongoDB store to use QueryOptions pattern for building
aggregation pipelines
- Replace AggregateCount with CountAllMatchingDocuments that filters out
pagination stages from count queries
- Move filter parsing logic from queries package to internal package
- Update all tests to use new QueryOptions API
BREAKING CHANGE: Service method signatures changed from accepting
individual query parameters to structured request objects. All store
methods now use QueryOptions instead of direct parameters.
0 commit comments