-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] If I needed to return total count for pagination, where is the best place to implement? #156
Comments
Duplicate #134 |
EDIT: Can we add this to docs? A simple example would be fine for best practices? Thank you for this amazing package! It will slim my code down a lot. |
Here is the issue #135. I tried to elaborate it, we'll need to add it to the docs. |
Thanks @fiseni I’m playing with it now. I just came upon this package and trying to grok it. Are the 2 YouTube videos currently the best way to learn more about extending the specs and evaluators? |
Not really to be honest. Perhaps we need to create a new video, a planned one :) We recorded the last ones on the fly with no particular agenda. I know we're lacking good docs. We started working on it, but we're far from finished. |
OK, thank you! Once I understand everything going on I'll see if I can create some PR's! |
If you want to add/update anything in the docs, they're just markdown files here: Thanks! |
hi all. im having a scenario where i start the specification from the aggregate root and include children with skip and take. it works fine. but how can i get the totalrecord count of the children using this library? |
If I am using pagination to skip and take based on page size, but still need to return total items to the client, where should I implement this?
I want to run count after the where filter so I get the actual count of items returned from the search but before my pagination.
In the specification? or run Count() on the entire table first then use the specification?
Do I need a filter specification, and then another pagination specification?
I was using this on the IQueryable:
Is this a job for an evaluator? I'm trying to find documentation on this
The text was updated successfully, but these errors were encountered: