apollo-angular Questions
2
Solved
Following the Apollo Angular docs, I applied this configuration to connect to a given graphql endpoint:
import { HttpClientModule } from "@angular/common/http";
import { ApolloModule, APOLLO_OPTIO...
Fernandofernas asked 19/5, 2019 at 22:25
2
Below is my setup code for apollo angular:
providers: [
{
provide: APOLLO_OPTIONS,
useFactory: (httpLink: HttpLink) => {
return {
cache: new InMemoryCache(),
link: httpLink.create({
uri...
Senghor asked 16/8, 2019 at 12:22
1
© 2022 - 2024 — McMap. All rights reserved.