You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'
.
Consider something like:
const cleanTypenameLink = new ApolloLink((operation, forward) => { | |
if (operation.variables) { | |
operation.variables = this.omitDeep (operation.variables, "__typename") | |
} | |
return forward(operation).map((data) => { | |
return data; | |
}) | |
}) | |
private omitDeep(obj, key) { |