@envelop/apollo-federation 3.0.0 → 3.0.2-alpha-20221014125414-4a8038f2

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -12,7 +12,7 @@ yarn add @envelop/apollo-federation
12
12
 
13
13
  ```ts
14
14
  import { envelop, useEngine } from '@envelop/core'
15
- import { parse, validate, execute, subscribe } from 'graphql'
15
+ import { parse, validate, specifiedRules, execute, subscribe } from 'graphql'
16
16
  import { ApolloGateway } from '@apollo/gateway'
17
17
  import { useApolloFederation } from '@envelop/apollo-federation'
18
18
 
@@ -31,7 +31,7 @@ await gateway.load()
31
31
  // Then pass it to the plugin configuration
32
32
  const getEnveloped = envelop({
33
33
  plugins: [
34
- useEngine({ parse, validate, execute, subscribe }),
34
+ useEngine({ parse, validate, specifiedRules, execute, subscribe }),
35
35
  // ... other plugins ...
36
36
  useApolloFederation({ gateway })
37
37
  ]
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@envelop/apollo-federation",
3
- "version": "3.0.0",
3
+ "version": "3.0.2-alpha-20221014125414-4a8038f2",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@envelop/core": "^3.0.0",
6
+ "@envelop/core": "3.0.2-alpha-20221014125414-4a8038f2",
7
7
  "@apollo/gateway": "^0.41.0 || ^0.42.0 || ^0.43.0",
8
8
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
9
9
  },