apollo-link

WebJar for apollo-link

License

License

MIT
Categories

Categories

Apollo Container Microservices
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

apollo-link
Last Version

Last Version

1.2.14
Release Date

Release Date

Type

Type

jar
Description

Description

apollo-link
WebJar for apollo-link
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/apollographql/apollo-link

Download apollo-link

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/apollo-link/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>apollo-link</artifactId>
    <version>1.2.14</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/apollo-link/
implementation 'org.webjars.npm:apollo-link:1.2.14'
// https://jarcasting.com/artifacts/org.webjars.npm/apollo-link/
implementation ("org.webjars.npm:apollo-link:1.2.14")
'org.webjars.npm:apollo-link:jar:1.2.14'
<dependency org="org.webjars.npm" name="apollo-link" rev="1.2.14">
  <artifact name="apollo-link" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='apollo-link', version='1.2.14')
)
libraryDependencies += "org.webjars.npm" % "apollo-link" % "1.2.14"
[org.webjars.npm/apollo-link "1.2.14"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.npm : apollo-utilities jar [1.3.0,2)
org.webjars.npm : ts-invariant jar [0.4.0,0.5)
org.webjars.npm : tslib jar [1.9.3,2)
org.webjars.npm : zen-observable-ts jar [0.8.21,0.9)

Project Modules

There are no modules declared in this project.

apollo-link npm version Get on Slack


⚠️ THIS PROJECT HAS BEEN DEPRECATED ⚠️

The Links in this repo have been migrated to the apollo-client project (as of >= @apollo/[email protected]). Please refer to the Apollo Client migration guide for more details. All Apollo Link issues / pull requests should now be opened in the apollo-client repo.


apollo-link is a standard interface for modifying control flow of GraphQL requests and fetching GraphQL results, designed to provide a simple GraphQL client that is capable of extensions. The high level use cases of apollo-link are highlighted below:

  • fetch queries directly without normalized cache
  • network interface for Apollo Client
  • network interface for Relay Modern
  • fetcher for GraphiQL

The apollo link interface is designed to make links composable and easy to share, each with a single purpose. In addition to the core, this repository contains links for the most common fetch methods—http, local schema, websocket—and common control flow manipulations, such as retrying and polling. For a more detailed view of extended use cases, please see this list of community created links.

Installation

npm install apollo-link --save

To use apollo-link in a web browser or mobile app, you'll need a build system capable of loading NPM packages on the client. Some common choices include Browserify, Webpack, and Meteor +1.3.

Documentation

To start, begin by reading this introduction. For a deeper understanding and to fully leverage the power of Apollo Links, please view the concepts overview. To see example links from around the community, check out this list. If you would like your link to be featured, please open a pull request.

Contributing

Apollo Link uses Lerna to manage multiple packages. To get started contributing, run npm run bootstrap in the root of the repository, which will install all dependencies and connect the dependent projects with symlinks in node_modules. Then run npm run build to compile the typescript source. Finally for incremental compilation, use npm run watch.

Your feedback and contributions are always welcome.

Apollo Principles

apollo-link strives to follow the Apollo design principles:

  1. Incrementally adoptable
  2. Universally compatible
  3. Simple to get started with
  4. Inspectable and understandable
  5. Built for interactive apps
  6. Small and flexible
  7. Community driven

Maintainers

org.webjars.npm

Apollo GraphQL

A community building flexible open source tools for GraphQL.

Versions

Version
1.2.14
1.2.13
1.2.12
1.2.9-alpha.1
1.2.6