-
Notifications
You must be signed in to change notification settings - Fork 441
Closed
Labels
breaking-changeBreaking changeBreaking changeevent_handlersfeature-requestfeature requestfeature requestneed-customer-feedbackRequires more customers feedback before making or revisiting a decisionRequires more customers feedback before making or revisiting a decision
Milestone
Description
Use case
When there are no query string params, app.current_event.query_string_parameters
is None
which is unexpected.
Solution/User Experience
Proper solution is to make it to behave like an empty dict or to be an actual empty dict.
- avoids extra None checks
- removes one point of surprise which was totally unnecessary
Alternative solutions
No response
Acknowledgment
- This feature request meets Lambda Powertools Tenets
- Should this be considered in other Lambda Powertools languages? i.e. Java, TypeScript
royassis
Metadata
Metadata
Assignees
Labels
breaking-changeBreaking changeBreaking changeevent_handlersfeature-requestfeature requestfeature requestneed-customer-feedbackRequires more customers feedback before making or revisiting a decisionRequires more customers feedback before making or revisiting a decision
Type
Projects
Status
Shipped