when params is null, passing perRequest should not populate it

Description

When a resource's params prop is specified as a function, that function may return null to indicate that the fetch's conditions are incomplete and therefore that the fetch should not fire. At present, providing the perRequest prop automatically sets params.limit. This causes undesirable behavior when the params function returns null as it causes the fetch to fire when in fact the conditions are incomplete and it should be suppressed.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Development Team

None

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created October 29, 2020 at 3:47 PM
Updated June 16, 2021 at 9:57 AM
Resolved October 29, 2020 at 5:44 PM
TestRail: Cases
TestRail: Runs