Skip to content

refactor: Inject ObjectFactory instead of Project in SentryPluginExtension#1181

Merged
runningcode merged 1 commit intomainfrom
no/objectfactory-injection
May 6, 2026
Merged

refactor: Inject ObjectFactory instead of Project in SentryPluginExtension#1181
runningcode merged 1 commit intomainfrom
no/objectfactory-injection

Conversation

@runningcode
Copy link
Copy Markdown
Contributor

@runningcode runningcode commented May 6, 2026

Summary

  • SentryPluginExtension only used Project to call project.objects — inject ObjectFactory directly instead
  • Removes the unnecessary Project dependency from the extension constructor

#skip-changelog

🤖 Generated with Claude Code

…nsion

SentryPluginExtension only used Project to get ObjectFactory. Injecting
ObjectFactory directly removes the unnecessary Project dependency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Member

@markushi markushi left a comment

Choose a reason for hiding this comment

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

LGTM!

@runningcode
Copy link
Copy Markdown
Contributor Author

The windows failure seems to be a temporary server issue in downloading the CLI

@runningcode runningcode merged commit 540e5d7 into main May 6, 2026
19 of 21 checks passed
@runningcode runningcode deleted the no/objectfactory-injection branch May 6, 2026 11:23
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