You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the fact that isFetchApiAvailable() is (almost) always true, then FetchAdapter is used, despite the fact that config.networkAdapter is passed in the configuration
This makes it impossible to change network adapter to custom value as FetchAdapter is always used
The text was updated successfully, but these errors were encountered:
In Config.ts you expose configuration value:
Which is then checked in RepositoryModule :
however, there's a bug here
Adapter: config.networkAdapter || isFetchApiAvailable() ? FetchAdapter : undefined,
as it works as parenthesis were like this:
Adapter: (config.networkAdapter || isFetchApiAvailable()) ? FetchAdapter : undefined
Due to the fact that
isFetchApiAvailable()
is (almost) always true, thenFetchAdapter
is used, despite the fact thatconfig.networkAdapter
is passed in the configurationThis makes it impossible to change network adapter to custom value as
FetchAdapter
is always usedThe text was updated successfully, but these errors were encountered: