Skip to content

A missing inject-able defaults opts for new constructor (builder) #1

@donutloop

Description

@donutloop

Hi,

Great package!

2019-11-30_01-05

I think, it is better to inject these defaults opts by passing it to the constructor instead of having a predefined one in the function body. In my point of view, this new function is behaving like a builder. Maybe you could provide a builder and constructor for this package.

Best regards,
Donutloop

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions