Skip to content
This repository has been archived by the owner on Sep 30, 2019. It is now read-only.

Is BatchInvoke supported? #85

Open
bboure opened this issue Feb 22, 2019 · 2 comments
Open

Is BatchInvoke supported? #85

bboure opened this issue Feb 22, 2019 · 2 comments

Comments

@bboure
Copy link
Contributor

bboure commented Feb 22, 2019

I am trying to use this template for my lambda resolver.

{
    "version": "2017-02-28",
    "operation": "BatchInvoke",
    "payload": $utils.toJson($context)
}

My lambda fails for several reasons:

  1. the lambda is called once for each previously resolved source.
  2. the event params does not come as an array.

I believe that BatchInvoke is not supported?

@lightsofapollo
Copy link
Contributor

I believe you are correct BatchInvoke is not supported. We should definitely do this.

@bboure
Copy link
Contributor Author

bboure commented Feb 23, 2019

@lightsofapollo any idea on how to achieve that?
for now I just hacked it like this:

https://github.com/ConduitVC/aws-utils/compare/master...bboure:batch-invoke?expand=1

Not real BatchInvoke, but at least it doesn't break my code.

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

No branches or pull requests

2 participants