Feature request: implement parser decorator #1816
Labels
completed
This item is complete and has been merged/shipped
feature-request
This item refers to a feature request for an existing or new utility
parser
This item relates to the Parser Utility
Milestone
Use case
Similar to middy middleware we want to use build-in schemas and envelopes to parse and extract events using decorators.
Solution/User Experience
Based on the RFC the decorator should take model and envelope as an param object:
we should also be able to pass only the model, which can be a custom event or an extension of the built-in schema i.e.
Alternative solutions
No response
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: