I can see some commits related to removing Relay.injectDefaultNetworkLayer from public api and also adding warning if we try to inject network layer more than once.
Should this line of code use Relay.injectDefaultNetworkLayer instead of Relay.injectNetworkLayer to allow us to inject our own network layer with out warning?
Thanks very much for catching and reporting this @mailaneel. https://github.com/facebook/relay/pull/1100 should fix this.
@wincent thanks for quick fix
Most helpful comment
Thanks very much for catching and reporting this @mailaneel. https://github.com/facebook/relay/pull/1100 should fix this.