Apollo Angular

GraphQL for Angular

Apollo Angular brings Apollo Client to Angular: queries, mutations and subscriptions as RxJS observables, injectable services, and a normalized cache. Part of the Hive ecosystem by The Guild.

Why Apollo Angular

Queries as observables

Inject Apollo, write a query, and subscribe like any other Angular data source. Types flow through with GraphQL Code Generator.

Learn about queries
import { Component, inject } from '@angular/core';
import { Apollo, gql } from 'apollo-angular';

const GET_POSTS = gql`
  query GetPosts {
    posts {
      id
      title
    }
  }
`;

@Component({ selector: 'app-posts', template: '...' })
export class PostsComponent {
  posts$ = inject(Apollo).watchQuery({ query: GET_POSTS }).valueChanges;
}

Learn more

Discover the complete ecosystem of tools and libraries

Complete GraphQL Federation Stack

Our libraries to support all your GraphQL needs

Explore the Ecosystem