@graphcommerce/graphql-mesh 3.0.8 → 3.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/createHandler.ts +2 -1
- package/package.json +12 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.9](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-mesh@3.0.8...@graphcommerce/graphql-mesh@3.0.9) (2021-10-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* add cache-inmemory-lru ([2cd23a4](https://github.com/ho-nl/m2-pwa/commit/2cd23a40c8a2b02175b160aa9ce0b695c88c12f7))
|
|
12
|
+
* graphql-mesh missing inmemory lru ([6c71c25](https://github.com/ho-nl/m2-pwa/commit/6c71c256911072ace19037616e0ce2ab478bf070))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [3.0.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-mesh@3.0.0...@graphcommerce/graphql-mesh@3.0.1) (2021-09-27)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @graphcommerce/graphql-mesh
|
package/createHandler.ts
CHANGED
|
@@ -6,6 +6,7 @@ import '@graphql-mesh/transform-filter-schema'
|
|
|
6
6
|
import '@graphql-mesh/graphql'
|
|
7
7
|
import '@graphql-mesh/merger-stitching'
|
|
8
8
|
import '@graphql-mesh/transform-cache'
|
|
9
|
+
import '@graphql-mesh/cache-inmemory-lru'
|
|
9
10
|
import 'ts-tiny-invariant'
|
|
10
11
|
import 'micro'
|
|
11
12
|
import cors from 'micro-cors'
|
|
@@ -40,7 +41,7 @@ export function injectEnv(json: YamlConfig.Config & { $schema?: string }): YamlC
|
|
|
40
41
|
|
|
41
42
|
export async function createHandler(meshInstance: MeshInstance, path: string) {
|
|
42
43
|
const apolloServer = new ApolloServer({
|
|
43
|
-
context:
|
|
44
|
+
context: ({ req }) => req,
|
|
44
45
|
introspection: true,
|
|
45
46
|
plugins: [
|
|
46
47
|
ApolloServerPluginLandingPageGraphQLPlayground({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/graphql-mesh",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"author": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -9,15 +9,16 @@
|
|
|
9
9
|
"start": "next start"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@graphql-mesh/
|
|
13
|
-
"@graphql-mesh/
|
|
14
|
-
"@graphql-mesh/
|
|
15
|
-
"@graphql-mesh/
|
|
16
|
-
"@graphql-mesh/
|
|
17
|
-
"@graphql-mesh/
|
|
18
|
-
"@graphql-mesh/transform-
|
|
19
|
-
"@graphql-mesh/transform-
|
|
20
|
-
"@graphql-mesh/
|
|
12
|
+
"@graphql-mesh/cache-inmemory-lru": "^0.5.24",
|
|
13
|
+
"@graphql-mesh/cli": "^0.42.2",
|
|
14
|
+
"@graphql-mesh/config": "^0.24.1",
|
|
15
|
+
"@graphql-mesh/graphql": "^0.18.18",
|
|
16
|
+
"@graphql-mesh/merger-stitching": "^0.13.1",
|
|
17
|
+
"@graphql-mesh/runtime": "^0.23.1",
|
|
18
|
+
"@graphql-mesh/transform-cache": "^0.9.20",
|
|
19
|
+
"@graphql-mesh/transform-federation": "^0.6.10",
|
|
20
|
+
"@graphql-mesh/transform-filter-schema": "^0.12.1",
|
|
21
|
+
"@graphql-mesh/types": "^0.53.0",
|
|
21
22
|
"apollo-server-core": "^3.4.0",
|
|
22
23
|
"apollo-server-micro": "^3.4.0",
|
|
23
24
|
"graphql": "^15.6.1",
|
|
@@ -49,5 +50,5 @@
|
|
|
49
50
|
"project": "./tsconfig.json"
|
|
50
51
|
}
|
|
51
52
|
},
|
|
52
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "ae1ca37a3c418fe5942a2094934f5d434e56465e"
|
|
53
54
|
}
|