Integrating Apollo GraphQL Client with Angular

Photo by Radowan Nakif Rehan on Unsplash

ng add apollo-angular

tsconfig.json compiler options
retrieve gql function from a GraphQL server.
Apollo.watchQuery method
gql function mutation string
Mutate method to call the mutation request

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store