Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 504ddb7

Browse files
authored
Update README code references (#809)
1 parent f4414b4 commit 504ddb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ The `graphqlHTTP` function accepts the following options:
141141
- **`websocketClient`**: An optional GraphQL string for websocket client used for subscription, `v0`: subscriptions-transport-ws, `v1`: graphql-ws. Defaults to `v0` if not provided
142142

143143
- **`rootValue`**: A value to pass as the `rootValue` to the `execute()`
144-
function from [`GraphQL.js/src/execute.js`](https://github.com/graphql/graphql-js/blob/main/src/execution/execute.js#L129).
144+
function from [`GraphQL.js/src/execute.ts`](https://github.com/graphql/graphql-js/blob/main/src/execution/execute.ts#L148).
145145

146146
- **`context`**: A value to pass as the `contextValue` to the `execute()`
147-
function from [`GraphQL.js/src/execute.js`](https://github.com/graphql/graphql-js/blob/main/src/execution/execute.js#L130). If `context` is not provided, the
147+
function from [`GraphQL.js/src/execute.ts`](https://github.com/graphql/graphql-js/blob/main/src/execution/execute.ts#L149). If `context` is not provided, the
148148
`request` object is passed as the context.
149149

150150
- **`pretty`**: If `true`, any JSON response will be pretty-printed.

0 commit comments

Comments
 (0)