Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow createInstance() to use custom factory functions #20

Closed
nhaarman opened this issue Mar 14, 2016 · 0 comments
Closed

Allow createInstance() to use custom factory functions #20

nhaarman opened this issue Mar 14, 2016 · 0 comments
Labels
type:proposed-enhancement A proposed enhancement to the api or behavior

Comments

@nhaarman
Copy link
Collaborator

To avoid needing a library update for issues like #17, the createInstance() method should have some way of passing a custom initializer for certain classes.

@nhaarman nhaarman added the type:proposed-enhancement A proposed enhancement to the api or behavior label Mar 14, 2016
nhaarman added a commit that referenced this issue Mar 19, 2016
These are functions `() -> T` that are invoked when
an instance of `T` is needed, instead of manually
trying to figure out which constructor to use.

Fixes #20.
nhaarman added a commit that referenced this issue Mar 19, 2016
These are functions `() -> T` that are invoked when
an instance of `T` is needed, instead of manually
trying to figure out which constructor to use.

Fixes #20.
nhaarman added a commit that referenced this issue Apr 17, 2016
These are functions `() -> T` that are invoked when
an instance of `T` is needed, instead of manually
trying to figure out which constructor to use.

Fixes #20.
nhaarman added a commit that referenced this issue Apr 17, 2016
These are functions `() -> T` that are invoked when
an instance of `T` is needed, instead of manually
trying to figure out which constructor to use.

Fixes #20.
@nhaarman nhaarman removed the in-review label Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:proposed-enhancement A proposed enhancement to the api or behavior
Projects
None yet
Development

No branches or pull requests

1 participant