Skip to content

feat: add sorting and counting for paginated items#66

Merged
phoebus-84 merged 1 commit intomasterfrom
sorting_and_counting
Apr 15, 2026
Merged

feat: add sorting and counting for paginated items#66
phoebus-84 merged 1 commit intomasterfrom
sorting_and_counting

Conversation

@phoebus-84
Copy link
Copy Markdown
Collaborator

No description provided.

…omicResources

- Add EconomicResourceSortField (CREATED_AT, NAME) and SortDirection enums
- Add orderBy argument to economicResources query
- Thread order_by through Page struct and Connection.parse
- Apply sorting in Query.all via apply_order_by/2
- Add EconomicResourcePageInfo type with distinctPrimaryAccountableCount
- Add filtered_query/1 and count_distinct_primary_accountable/1 in Query
- Merge distinct count into page_info in resolver
@phoebus-84 phoebus-84 merged commit e5edecb into master Apr 15, 2026
1 check failed
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