Skip to content

Managed::merge API #5985

@elramen

Description

@elramen

Add Managed::merge(first: Managed<M>, second: Managed<N>) -> Managed<T>.

Then use this in the envelope function of the minidump and playstation endpoints instead of reject2 and accept. The idea is to use merge to do:

Managed<(DataCategory, usize)>, Managed<Item> -> Managed<(DataCategory, usize), Item>

and then map (without having to modify the records manually) to do:

Managed<(DataCategory, usize), Item> -> Managed<Box<Envelope>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    fillerRequires little effort to resolve. Ready to be picked up anytime.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions