Skip to content

Commit b212152

Browse files
authored
docs: fix typos in README.md (michalkvasnicak#170)
1 parent feff6ff commit b212152

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/aws-lambda-graphql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ All options from Apollo Lambda Server and
5353
- **`onOperation(message: OperationRequest, params: ExecutionParams, connection: IConnection): Promise<ExecutionParams>|ExecutionParams`** (`optional`)
5454
- **`onOperationComplete(connection: IConnection, operationId: string): void`** (`optional`)
5555
- **`onDisconnect(connection: IConnection): void`** (`optional`)
56-
- **waitForInitialization** (`optional`) - if connection is not initialised on GraphQL operation, wait for connection to be initialised or throw prohibited connection error. If `onConnect` is specified then we wait for initialisation otherwise we don't wait. (this is usefull if you're performing authentication in `onConnect`).
56+
- **waitForInitialization** (`optional`) - if connection is not initialized on GraphQL operation, wait for connection to be initialized or throw prohibited connection error. If `onConnect` is specified then we wait for initialization otherwise we don't wait. (this is usefull if you're performing authentication in `onConnect`).
5757
- **retryCount** (`number`, `optional`, `default 10`) - how many times should we try to check the connection state?
5858
- **timeout** (`number`, `optional`, `default 50ms`) - how long should we wait (in milliseconds) until we try to check the connection state again?
5959
- **connectionEndpoint** (`string`, `optional`) - if specified, the connection endpoint will be registered with this value as opposed to extracted from the event payload (as `${domainName}/${stage}`)
@@ -151,7 +151,7 @@ Stores subscription operations to a subscription operations table as `subscripti
151151
### `IConnectionData`
152152

153153
- **context** (`object`) - connection context data provided from `GQL_CONNECTION_INIT` or `onConnect`. This data is passed to graphql resolvers' context. All values should be JSON seriablizable.
154-
- **isInitialized** (`boolean`) - is connection initialised? Basically if you use `onConnect` then this value is `false` until the `onConnect` successfully resolves with non `false` value.
154+
- **isInitialized** (`boolean`) - is connection initialized? Basically if you use `onConnect` then this value is `false` until the `onConnect` successfully resolves with non `false` value.
155155

156156
### Context creator function
157157

0 commit comments

Comments
 (0)