Skip to content

Allow object in clientContext #223

@boblund

Description

@boblund

I'm using lambda-local for a local API gateway websocket server. I want to use clientContext to pass a local version of AWS.ApiGatewayManagementApi.postToConnection() to the lambda integration. I can do this with the following change:

function _executeSync(opts) {
  ...
  clientContext = opts.clientContext; //JSON.parse(opts.clientContext);

i.e. don't parse the clientContext option.

Could this be a permanent change? I don't see a downside.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions