Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow object in clientContext #223

Closed
boblund opened this issue Aug 12, 2022 · 1 comment
Closed

Allow object in clientContext #223

boblund opened this issue Aug 12, 2022 · 1 comment

Comments

@boblund
Copy link

boblund commented Aug 12, 2022

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.

@gpotter2
Copy link
Collaborator

Fixed in 2.0.3 ! sorry for the delay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants