Skip to content

Optimization: don't fetch count when pagination disabled #1752

@bkoelman

Description

@bkoelman

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"].

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions