aurelia / aurelia/fetch-client

version 1.8.0 generates infinite loop with retry configured to 0

Open
#128 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
74
Forks
45
PR merge metrics
No merged PRs in 30d

Description

aurelia-fetch version 1.8.0

the following code does not work and it keeps generating requests:

config
.rejectErrorResponses()
.withRetry({
strategy: 0,
maxRetries: 0
}));

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with aurelia-fetch 1.8.0 using rejectErrorResponses() and withRetry({ strategy: 0, maxRetries: 0 }). Read the retry configuration and request-handling entry points associated with withRetry, then confirm that zero retries produces no repeated requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.