Skip to content

Conversation

@MuriloScarpaSitonio
Copy link
Contributor

This PR follows the directives of #78.

Copy link
Owner

@maldoinc maldoinc left a 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.

@MuriloScarpaSitonio
Copy link
Contributor Author

@maldoinc I think I addressed your remark by raising an error in this scenario. Can you take another look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants