Skip to content

Raven::Event#to_hash uses strings as keys, but Raven::Event#initialize options hash uses symbols as keys #247

@mitchellhenke

Description

@mitchellhenke

Is there a reason to not be consistent across these? I realize switching either would break backwards compatibility, but an Event created from an Event#to_hash loses a lot of information. My issue came up when trying to use Sidekiq to send the hash to a worker and recreate the Event from that hash.

I'm not sure if there's a better way to do it, and that this use case is just way off.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions