Skip to content

Commit 11a0443

Browse files
committed
fix: update documentation for resolve method in RouteHandlerRegistry
1 parent f1b545e commit 11a0443

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/event-handler/src/appsync-graphql/RouteHandlerRegistry.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,8 @@ class RouteHandlerRegistry {
5959
/**
6060
* Resolves the handler for a specific GraphQL API event.
6161
*
62-
* This method first checks an internal cache for the handler. If not found, it attempts to retrieve
63-
* the handler from the registered resolvers. If the handler is still not found, a warning is logged
64-
* (only once per missing handler), and `undefined` is returned.
65-
*
66-
* @param typeName - The name of the GraphQL type.
67-
* @param fieldName - The name of the field within the GraphQL type.
62+
* @param typeName - The name of the GraphQL type (e.g., "Query", "Mutation", or a custom type).
63+
* @param fieldName - The name of the field within the specified type.
6864
*/
6965
public resolve(
7066
typeName: string,

0 commit comments

Comments
 (0)