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 custom inheritance of some provided services #10

Closed
tcalmant opened this issue Mar 20, 2014 · 2 comments
Closed

Allow custom inheritance of some provided services #10

tcalmant opened this issue Mar 20, 2014 · 2 comments
Assignees

Comments

@tcalmant
Copy link
Owner

Allow a component to inherit some of the services provided by its parent class (a component or a decorated class).
The services included or excluded from the inheritance should be listed in the @ComponentFactory or an @InheritProvides or an @InheritHandler decorator.

@tcalmant tcalmant self-assigned this Apr 1, 2014
@tcalmant tcalmant added this to the 0.5.6 milestone Apr 1, 2014
@tcalmant
Copy link
Owner Author

tcalmant commented Apr 1, 2014

Added an "excluded" parameter to ComponentFactory: inherited and class handlers configurations are merged by the FactoryContext.inherit_handlers(excluded) method.

Unit tests to be done.

@tcalmant
Copy link
Owner Author

Tests added in commit 3d6abc8.

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