Skip to content

Commit

Permalink
fix: resolved wrong pagination info (#17)
Browse files Browse the repository at this point in the history
This PR contains a fix made on pagination during the retrieve of the mock resources list. The fix provide the execution of a dedicated query for retrieve the total number of elements in the whole collection, resolving a bug that caused a wrong value for the count of elements in page.

#### List of Changes
 - Refactored query for get the count of all elements
 - Added new field for retrieve the total number of elements
 - Added `@Indexed` annotation on mock resource entity
  • Loading branch information
andrea-deri committed Feb 24, 2024
1 parent 2f2cd87 commit 77b07a4
Show file tree
Hide file tree
Showing 5 changed files with 1,984 additions and 2,225 deletions.
Loading

0 comments on commit 77b07a4

Please sign in to comment.