Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

should allow name redefinition for @Injectable function #17

Closed
yozo1984 opened this issue Jul 31, 2013 · 1 comment
Closed

should allow name redefinition for @Injectable function #17

yozo1984 opened this issue Jul 31, 2013 · 1 comment

Comments

@yozo1984
Copy link
Contributor

This is particularly useful when the method name style is different with the argument name style. For example:

@ioc.Injectable(name='user')
@ioc.inject
def GetUser(request=ioc.IN):
  return request.get('user')
@wesalvaro
Copy link
Contributor

Fixed in 0d21474

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants