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

Remove factoryType property from Adic.IFactory #6

Closed
intentor opened this issue Apr 10, 2015 · 0 comments
Closed

Remove factoryType property from Adic.IFactory #6

intentor opened this issue Apr 10, 2015 · 0 comments

Comments

@intentor
Copy link
Owner

A factory can create different types related to the same type, so not necessarily a factory creates a single type. So, this property doesn't always indicate the correct type being created by the factory - and it should not be a restriction for anyone using factories.

Also, given the framework doesn't use the factoryType property in all situations when dealing with factories, it's better to remove the property.

The removal of the property won't cause problems to any existing factory - it'll be safe to remove it from any existing code.

@intentor intentor changed the title Remove factoryType proprerty from Adic.IFactory Remove factoryType property from Adic.IFactory Apr 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant