This commit addresses dependency injection defects when using the withFetch API. Formerly, utilizing withFetch led to the automatic setting of HttpBackend to FetchBackend, which proved problematic in certain scenarios. Notably, conflicts arose when integrating withRequestsMadeViaParent and manually overriding tokens, as observed in instances like InMemoryWebApiModule.
Reviewer note: I suggest that you enable hide whitespace.
This commit addresses dependency injection defects when using the
withFetch
API. Formerly, utilizingwithFetch
led to the automatic setting ofHttpBackend
toFetchBackend
, which proved problematic in certain scenarios. Notably, conflicts arose when integratingwithRequestsMadeViaParent
and manually overriding tokens, as observed in instances likeInMemoryWebApiModule
.Reviewer note: I suggest that you enable
hide whitespace
.