You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/event-handler/src/appsync-graphql/Router.ts
+3-11Lines changed: 3 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -514,11 +514,7 @@ class Router {
514
514
* ```
515
515
*
516
516
* @param handler - The batch handler function to be called when events are received.
517
-
* @param options - Batch route options including the required fieldName and optional configuration.
518
-
* @param options.fieldName - The name of the field to register the handler for.
519
-
* @param options.typeName - The name of the GraphQL type to use for the resolver, defaults to `Query`.
520
-
* @param options.aggregate - Whether to aggregate multiple requests into a single handler call, defaults to `true`.
521
-
* @param options.throwOnError - Whether to raise errors when processing individual requests (only available when aggregate is false), defaults to `false`.
517
+
* @param options - Batch route options including the required `fieldName`, optional `typeName` (defaults to `Query`), `aggregate` (defaults to `true`), and `throwOnError` (defaults to `false`).
522
518
*/
523
519
publicbatchResolver<
524
520
TParamsextendsRecord<string,unknown>,
@@ -697,9 +693,7 @@ class Router {
697
693
*
698
694
* @param fieldName - The name of the Query field to register the batch handler for.
699
695
* @param handler - The batch handler function to be called when events are received.
700
-
* @param options - Optional batch configuration including aggregate and throwOnError settings.
701
-
* @param options.aggregate - Whether to aggregate multiple requests into a single handler call, defaults to `true`.
702
-
* @param options.throwOnError - Whether to raise errors when processing individual requests (only available when aggregate is false), defaults to `false`.
696
+
* @param options - Optional batch configuration including `aggregate` (defaults to `true`) and `throwOnError` (defaults to `false`).
703
697
*/
704
698
publiconBatchQuery<
705
699
TParamsextendsRecord<string,unknown>,
@@ -894,9 +888,7 @@ class Router {
894
888
*
895
889
* @param fieldName - The name of the Mutation field to register the batch handler for.
896
890
* @param handler - The batch handler function to be called when events are received.
897
-
* @param options - Optional batch configuration including aggregate and throwOnError settings.
898
-
* @param options.aggregate - Whether to aggregate multiple requests into a single handler call, defaults to `true`.
899
-
* @param options.throwOnError - Whether to raise errors when processing individual requests (only available when aggregate is false), defaults to `false`.
891
+
* @param options - Optional batch configuration including `aggregate` (defaults to `true`) and `throwOnError` (defaults to `false`).
Copy file name to clipboardExpand all lines: packages/event-handler/src/http/Router.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ import {
85
85
86
86
classRouter<TEnvextendsEnv=Env>{
87
87
/**
88
-
* @deprecated This property is deprecated and will be removed in a future major version, please use {@link RequestContext.shared | `requestContext.shared`} instead.
88
+
* @deprecated This property is deprecated and will be removed in a future major version, please use `requestContext.shared` instead.
Copy file name to clipboardExpand all lines: packages/event-handler/src/types/common.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@ type Anything = any;
4
4
// #region resolve options
5
5
6
6
/**
7
-
* Optional object to pass to the {@link AppSyncEventsResolver.resolve | `AppSyncEventsResolver.resolve()`} or {@link AppSyncGraphQLResolver.resolve | `AppSyncGraphQLResolver.resolve()`} methods.
7
+
* Optional object to pass to the `AppSyncEventsResolver.resolve()` or `AppSyncGraphQLResolver.resolve()` methods.
8
8
*/
9
9
typeResolveOptions={
10
10
/**
11
11
* Reference to `this` instance of the class that is calling the `resolve` method.
12
12
*
13
-
* This parameter should be used only when using {@link AppSyncEventsResolver.onPublish | `AppSyncEventsResolver.onPublish()`},
14
-
* {@link AppSyncEventsResolver.onSubscribe | `AppSyncEventsResolver.onSubscribe()`}, and {@link AppSyncGraphQLResolver.resolve | `AppSyncGraphQLResolver.resolve()`} as class method decorators, and
13
+
* This parameter should be used only when using `AppSyncEventsResolver.onPublish()`,
14
+
* `AppSyncEventsResolver.onSubscribe()`, and `AppSyncGraphQLResolver.resolve()` as class method decorators, and
15
15
* it's used to bind the decorated methods to your class instance.
0 commit comments