-
Notifications
You must be signed in to change notification settings - Fork 18
feat: Add DRF integration #89
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
base: master
Are you sure you want to change the base?
feat: Add DRF integration #89
Conversation
maldoinc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking into this! Looks great, just a few typos and minor comments:
We might want to check double injections: At the moment, using @inject on a regular django view will result in it being injected twice, one from the decorator and the other from the auto decoration the integration does to all its views. We can update one of them to skip injection if the other has already done it or think about a wireup setting such as "auto inject django views" which can be set to false if users want to use @inject on regualr django views instead.
|
@maldoinc I think I addressed your remark by raising an error in this scenario. Can you take another look? |
This PR follows the directives of #78.