Skip to content

Feature request: query_string_parameters should never be None #1359

Closed
@a3kov

Description

@a3kov

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Shipped

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions