Skip to content

Cannot chain attachments in builder when using MaildroidXAttachment list #53

@maximilian-schwaerzler

Description

@maximilian-schwaerzler

Describe the bug
The function attachments(attachments: List<MaildroidXAttachment>) returns Unit instead of MaildroidX.Builder, making it not chainable.

To Reproduce
Use attachments(attachments: List<MaildroidXAttachment>) and use it in the MaildroidX.Builder.

Expected behavior
Replace the assignment to attachments(attachments: List<MaildroidXAttachment>) with a call to apply {...}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions