ios-oss
ios-oss copied to clipboard
MBL-915: Replace LegacyInterceptorProvider
📲 What
Replace LegacyInterceptorProvider with equivalent code. This makes our NetworkInterceptorProvider conform directly to InterceptorProvider, but implements identical behavior to LegacyInterceptorProvider
🤔 Why
Apollo 1.0 removes the LegacyInterceptorProvider class. By upgrading this now, there will be one less thing to fix when we upgrade Apollo.
Regarding feature flags! I'm considering gating this behind a flag, but because the Apollo client is set up at launch, I'm not really sure it would do us much good. Thoughts?