aws-powertools / powertools-lambda-python

A developer toolkit to implement Serverless best practices and increase developer velocity.
https://docs.powertools.aws.dev/lambda/python/latest/
MIT No Attribution
2.71k stars 376 forks source link

fix(event_handler): current_event regression AppSyncResolver Router #4652

Closed leandrodamascena closed 2 days ago

leandrodamascena commented 2 days ago

Issue number: #4650

Summary

Changes

In version 2.40.0, we introduced a breaking change by removing the current_event property from the Router object. This PR fixes this issue.

User experience

Please share what the user experience looks like before and after this change

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change? **RFC issue number**: Checklist: * [ ] Migration process documented * [ ] Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.