Skip to content

Feature request: improve generic types of Idempotency utility #1556

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

Closed
1 of 2 tasks
dreamorosi opened this issue Jun 26, 2023 · 1 comment · Fixed by #1579
Closed
1 of 2 tasks

Feature request: improve generic types of Idempotency utility #1556

dreamorosi opened this issue Jun 26, 2023 · 1 comment · Fixed by #1579
Assignees
Labels
confirmed The scope is clear, ready for implementation feature-request This item refers to a feature request for an existing or new utility idempotency This item relates to the Idempotency Utility

Comments

@dreamorosi
Copy link
Contributor

Use case

The current version of the Idempotency utility uses generic types to allow for unknown payloads and function types. The types however are overly broad and use any.

We should dedicate time to improve them and narrow them down ahead of the GA release.

Solution/User Experience

TBD, however the new types should support all the types of payloads that the utility support while disallowing payload types that would cause runtime errors.

Alternative solutions

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

@dreamorosi dreamorosi added idempotency This item relates to the Idempotency Utility feature-request This item refers to a feature request for an existing or new utility labels Jun 26, 2023
@dreamorosi dreamorosi added this to the Idempotency - GA Release milestone Jun 26, 2023
@dreamorosi dreamorosi added the confirmed The scope is clear, ready for implementation label Jun 26, 2023
@dreamorosi dreamorosi self-assigned this Jul 5, 2023
@dreamorosi dreamorosi moved this from Backlog to Working on it in Powertools for AWS Lambda (TypeScript) Jul 5, 2023
@github-project-automation github-project-automation bot moved this from Working on it to Coming soon in Powertools for AWS Lambda (TypeScript) Jul 5, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2023

⚠️ COMMENT VISIBILITY WARNING ⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@dreamorosi dreamorosi moved this from Coming soon to Shipped in Powertools for AWS Lambda (TypeScript) Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed The scope is clear, ready for implementation feature-request This item refers to a feature request for an existing or new utility idempotency This item relates to the Idempotency Utility
Projects
1 participant