Skip to content

Commit

Permalink
Fix wrong GraphQL Hive package name
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Aug 21, 2024
1 parent 22cdf0d commit fee3f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/pages/docs/features/apollo-federation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ For a full step by step setup getting started, please follow this
#### Installation

```sh npm2yarn
npm i graphql-yoga graphql @graphql-yoga/hive
npm i graphql-yoga graphql @graphql-hive/yoga
```

#### Example

```js filename="src/index.mjs"
import { createServer } from 'node:http'
import { createYoga } from 'graphql-yoga'
import { createSupergraphSDLFetcher } from '@graphql-hive/client'
import { createSupergraphSDLFetcher } from '@graphql-hive/yoga'

const supergraphFetcher = createSupergraphSDLFetcher({
key: env.HIVE_CDN_KEY,
Expand Down

0 comments on commit fee3f0c

Please sign in to comment.