Skip to content

Feature request - consider changing the RequestContext abbreviated response name res to response #4518

@nateiler

Description

@nateiler

The res abbreviated property within the RequestContext seems out of place. Recommending using the full response name instead.

Before

type RequestContext = {
  request: Request;
  event: APIGatewayProxyEvent;
  context: Context;
  res: Response;
};

After

type RequestContext = {
  request: Request;
  event: APIGatewayProxyEvent;
  context: Context;
  response: Response;
};

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedevent-handlerThis item relates to the Event Handler Utilityfeature-requestThis item refers to a feature request for an existing or new utility

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions