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

226: support for array-shaped payloads #240

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

andrestoll
Copy link
Collaborator

Addresses #226

Checks if payload is "correctly" weighted and then creates the weighted payloads. Otherwise treated as an array-shaped payload.

Added unit tests.

Attached one weighted SFN execution and one unweighted.

Weighted payload to Lambda:
image

Unweighted payload to Lambda:
image
weighted_execution.json
unweighted_execution.json

Copy link
Owner

@alexcasalboni alexcasalboni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super! Just a super minor change :)

lambda/utils.js Outdated Show resolved Hide resolved
@alexcasalboni alexcasalboni merged commit 68bf1a9 into alexcasalboni:master Mar 25, 2024
3 of 8 checks passed
@andrestoll andrestoll deleted the 226-array-payload branch April 22, 2024 12:12
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

Successfully merging this pull request may close these issues.

2 participants