Skip to content

Commit

Permalink
apollo-server-plugin-response-cache: Add missing dependency
Browse files Browse the repository at this point in the history
Fixes #5804.
  • Loading branch information
glasser committed Oct 19, 2021
1 parent 99f02fc commit b60a2ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The version headers in this history reflect the versions of Apollo Server itself
## vNEXT

-聽`apollo-server-core`: Fix build error when building with `@rollup/plugin-commonjs`. [PR #5797](https://github.com/apollographql/apollo-server/pull/5797)
- `apollo-server-plugin-response-cache`: Add missing dependency on `apollo-server-types` (broken since v3.0.0). [Issue #5804](https://github.com/apollographql/apollo-server/issues/5804) [PR #FIXME](https://github.com/apollographql/apollo-server/pull/FIXME)

## v3.4.0

- `apollo-server-core`: You can now specify your own `DocumentStore` (a `KeyValueStore<DocumentNode>`) for Apollo Server's cache of parsed and validated GraphQL operation abstract syntax trees via the new `documentStore` constructor option. **This replaces the `experimental_approximateDocumentStoreMiB` option.** You can replace `new ApolloServer({experimental_approximateDocumentStoreMiB: approximateDocumentStoreMiB, ...moreOptions})` with:
Expand Down
4 changes: 1 addition & 3 deletions packages/apollo-server-plugin-response-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
},
"dependencies": {
"apollo-server-caching": "file:../apollo-server-caching",
"apollo-server-plugin-base": "file:../apollo-server-plugin-base"
},
"devDependencies": {
"apollo-server-plugin-base": "file:../apollo-server-plugin-base",
"apollo-server-types": "file:../apollo-server-types"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import type {
import type {
GraphQLRequestContext,
GraphQLResponse,
CacheHint,
ValueOrPromise,
} from 'apollo-server-types';
import { KeyValueCache, PrefixingKeyValueCache } from 'apollo-server-caching';
import type { CacheHint, ValueOrPromise } from 'apollo-server-types';
import { CacheScope } from 'apollo-server-types';

// XXX This should use createSHA from apollo-server-core in order to work on
Expand Down

0 comments on commit b60a2ee

Please sign in to comment.