Skip to content

For a concise and more flexible API, completely replace Mailer constructors with MailerBuilder. Add support completely ignoring property defaults. #115

Closed

Description

@bbottema

Currently, the constructors are growing wild in the Mailer class. This is due to the fact that, programmaticcally, there is no invalid combination of parameters as any missing argument can be compensated with a property default.

As such, to keep the Mailer API simple and flexible at the same time, all constructors should be replaced in favor of a new MailerBuilder class.

Activity

  1. added this to the 5.0.0 milestone on Nov 5, 2017
  2. self-assigned this
    on Dec 5, 2017
  3. changed the title [-]For a concise and more flexible API, completely replace all Mailer constructors with a new MailerBuilder[/-] [+]For a concise and more flexible API, completely replace Mailer constructors with MailerBuilder. Add support completely ignoring property defaults.[/+] on Dec 8, 2017
  4. added a commit that references this issue on Dec 24, 2017
  5. bbottema commented on Dec 26, 2017

    @bbottema
    OwnerAuthor

    Released as 5.0.0.rc1-SNAPSHOT. Add OSS' snapshots repo to find it in Maven.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions