Optimization: don't fetch count when pagination disabled
Opened this issue · 0 comments
bkoelman commented
When options.IncludeTotalResourceCount is set to true and pagination is disabled, there's no need to fetch the total count upfront. We can simply count the number of resources returned to set meta["total"].