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

Log untyped server DI requests #19347

Merged
merged 2 commits into from
Mar 17, 2020
Merged

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Feb 7, 2020

Fixes #19345

Basically just a stupid wrapper function to log this kind of things so we can fix them step by step.
Only logs on debug right now.

@rullzer rullzer added enhancement 3. to review Waiting for reviews labels Feb 7, 2020
@rullzer rullzer added this to the Nextcloud 19 milestone Feb 7, 2020
@ChristophWurst ChristophWurst added the pending documentation This pull request needs an associated documentation update label Feb 7, 2020
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice 👍

@ChristophWurst
Copy link
Member

See rg "server\->query\('". There are a few more

@rullzer
Copy link
Member Author

rullzer commented Feb 10, 2020

See rg "server\->query\('". There are a few more

o sure. But lets fix them separately. My fixup commit was there because otherwise there is a cycle causing infinite reccursion/

@rullzer rullzer force-pushed the fix/19345/log_deprecated_alias_use branch from 7f0effd to 69eefad Compare March 13, 2020 09:19
rullzer added 2 commits March 15, 2020 15:13
Fixes #19345

Basically just a stupid wrapper with extra logging. So that we can at
least inform people they are using the wrong methods.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer force-pushed the fix/19345/log_deprecated_alias_use branch from 73a6feb to c1152af Compare March 15, 2020 14:13
@rullzer rullzer merged commit 50ec863 into master Mar 17, 2020
@rullzer rullzer deleted the fix/19345/log_deprecated_alias_use branch March 17, 2020 17:17
@ChristophWurst ChristophWurst removed the pending documentation This pull request needs an associated documentation update label Apr 10, 2020
ChristophWurst added a commit to nextcloud/documentation that referenced this pull request Apr 10, 2020
Ref nextcloud/server#19347

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
ChristophWurst added a commit to nextcloud/documentation that referenced this pull request Apr 10, 2020
Ref nextcloud/server#19347

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Phase out untyped service injection in DI container
4 participants