@wirelineio/apollo-link-kappa
v0.1.15
Published
Apollo Link for Kappa views.
Downloads
2
Keywords
Readme
@wirelineio/apollo-link-kappa
Run Queries and Mutations against kappa views.
Quick Start
To get started, install @wirelineio/apollo-link-kappa
from npm:
npm install @wirelineio/apollo-link-kappa
The rest of the instructions assume that you have already set up Apollo Client in your application.
After you install the package, you can create your kappa link by calling KappaLink
constructor and passing your kappa instance and a set of resolvers:
import { KappaLink } from '@wirelineio/apollo-link-kappa';
const kappaLink = new KappaLink({
kappa: kappaCore,
resolvers: kappaResolvers
});