This package, `apollo-angular-link-http-common` at version 1.10.0, provides shared, internal logic specifically for HTTP links within the broader `apollo-angular` ecosystem. It is explicitly marked as "for internal use only" in its README and documentation, advising developers "DO NOT USE DIRECTLY" in their applications. As such, it does not offer a public API intended for direct consumption. Its primary role is to encapsulate common functionalities leveraged by other `apollo-angular` link implementations, ensuring consistency and reducing code duplication across the library. The `apollo-angular` library, which this package supports, generally follows Angular's major release cycle, implying that this internal package's stability and compatibility are tied to `apollo-angular`'s roadmap and its underlying `@apollo/client` dependencies. It ships with TypeScript types to facilitate its internal integration within the `apollo-angular` monorepo.
npm install apollo-angular-link-http-commonVerified import paths — ran on the pinned version, not inferred.
Always use the public API of `apollo-angular` or `@apollo/client` for GraphQL operations and link configuration. Do not import anything directly from this package.
Review your project's `package.json` and ensure your `graphql` dependency satisfies the required range. Use `npm install` or `yarn install` to resolve dependencies correctly after updating.
If indirectly affected, ensure your Angular project version is compatible with the `apollo-angular` version you are using. Refer to the `apollo-angular` release notes for specific Angular compatibility information.
Before upgrading `apollo-angular` to v12 or higher, consult the `@apollo/client` v4 migration guide for all relevant breaking changes, as they can affect how HTTP links are configured and behave.
This package is not meant for direct consumption. Refactor your code to use the public APIs provided by `apollo-angular` or `@apollo/client` for GraphQL operations and HTTP link setup. Do not import directly from `apollo-angular-link-http-common`.
Update your project's `graphql` dependency to satisfy the range `>=0.11.0 <0.14.0 || ^14.0.0 || ^15.0.0`. Run `npm install` or `yarn install` after modifying `package.json`.