apollo-kotlin
von apollographql
Apollo Kotlin ist ein stark typisierter GraphQL-Client, der aus Ihren GraphQL-Operationen und Ihrem Schema Kotlin-Modelle generiert, die in Android-, JVM- und Kotlin-Multiplatform-Projekten verwendet werden können.
npx skills add https://github.com/apollographql/skills --skill apollo-kotlinApollo Kotlin Guide
Apollo Kotlin is a strongly typed GraphQL client that generates Kotlin models from your GraphQL operations and schema, that can be used in Android, JVM, and Kotlin Multiplatform projects.
Process
Follow this process when adding or working with Apollo Kotlin:
- Confirm target platforms (Android, JVM, KMP), GraphQL endpoint(s), and how schemas are sourced.
- Configure Gradle and code generation, including custom scalars
- Create a shared
ApolloClientwith auth, logging, and caching. - Implement operations.
- Validate behavior with tests and error handling.
Reference Files
- Setup - Gradle plugin, schema download, codegen config (including scalars), client configuration (auth, logging, interceptors)
- Operations - Queries, mutations, subscriptions, and how to execute them
- Caching - Setup and use the normalized cache
- Migration Guide - Migrate from Apollo Kotlin 4
Scripts
- list-apollo-kotlin-versions.sh - List versions of Apollo Kotlin
- list-apollo-kotlin-normalized-cache-versions.sh - List versions of the Apollo Kotlin Normalized Cache library
Key Rules
- Prefer Apollo Kotlin v5+. Do not use v3 or older versions.
- Keep schema and operations in source control to make builds reproducible.
Mehr Skills von apollographql
apollo-client
apollographql
Apollo Client ist eine umfassende Zustandsverwaltungsbibliothek für JavaScript, die es Ihnen ermöglicht, sowohl lokale als auch entfernte Daten mit GraphQL zu verwalten. Version 4.x bietet verbessertes Caching, bessere TypeScript-Unterstützung und Kompatibilität mit React 19.
official
apollo-client
apollographql
Umfassender Leitfaden zum Erstellen von React-Anwendungen mit Apollo Client 4.x, der Abfragen, Mutationen, Caching und Zustandsverwaltung abdeckt. Unterstützt mehrere React-Frameworks und -Setups: clientseitige Apps (Vite, CRA), Next.js App Router mit React Server Components, React Router 7 mit Streaming SSR und TanStack Start. Enthält Hooks für Abfragen (useQuery, useLazyQuery), Mutationen (useMutation) und Suspense-basierte Muster (useSuspenseQuery, useBackgroundQuery) für modernes React 18+ und 19...
official
apollo-connectors
apollographql
Integrieren Sie REST-APIs in GraphQL-Supergraphen mithilfe der @source- und @connect-Direktiven. Bietet einen strukturierten 5-Schritte-Prozess: API-Struktur analysieren, Schema mit Direktiven implementieren, via rover supergraph compose validieren, Connectors ausführen und Abdeckung testen. Unterstützt Anfragekonfiguration einschließlich Headern, Body-Payloads, Batching für N+1-Muster und Umgebungsvariablen-Injektion via $env. Behandelt Antwort-Mapping mit Feldauswahl, Aliasing, Unterauswahlen für verschachtelte Daten und Entitäten...
official
apollo-federation
apollographql
Apollo Federation ermöglicht das Zusammenführen mehrerer GraphQL-APIs (Subgraphen) zu einem einheitlichen Supergraphen.
official
apollo-ios
apollographql
Apollo iOS ist ein stark typisierter GraphQL-Client für Apple-Plattformen. Er generiert Swift-Typen aus Ihren GraphQL-Operationen und Ihrem Schema und enthält einen Async/Await-Client, einen normalisierten Cache (im Arbeitsspeicher oder SQLite-gestützt), einen steckbaren, auf Interceptoren basierenden HTTP-Transport, der Abfragen, Mutationen und Multipart-Abonnements verarbeitet, sowie einen optionalen WebSocket-Transport (graphql-transport-ws), der jeden Operationstyp übertragen kann.
official
apollo-mcp-server
apollographql
Verbinde KI-Agenten über das Model Context Protocol mit GraphQL-APIs, inklusive integrierter Introspections- und Operationstools. Stellt GraphQL-Operationen als MCP-Tools bereit; unterstützt drei Operationsquellen: lokale Dateien, GraphOS Studio-Sammlungen und persistierte Query-Manifeste. Bietet vier Introspection-Tools (introspect, search, validate, execute) zur Schemaerkundung und Ad-hoc-Query-Tests; der Minifizierungsmodus reduziert Token-Nutzung durch kompakte Notation. Konfigurierbare Authentifizierung über statische Header,...
official
apollo-router
apollographql
Apollo Router ist ein leistungsstarker Graph-Router, der in Rust geschrieben wurde und für den Betrieb von Apollo Federation 2-Supergraphen entwickelt wurde. Er sitzt vor Ihren Subgraphen und übernimmt die Abfrageplanung, -ausführung und Antwortkomposition.
official
apollo-router-plugin-creator
apollographql
Erstelle native Rust-Plugins für Apollo Router.
official