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

Use ::create instead of new in GridFieldDetailForm_ItemRequest #10789

Closed
wants to merge 1 commit into from

Conversation

blueo
Copy link
Contributor

@blueo blueo commented May 24, 2023

Updates instances of new X to X::create so that Silverstripe classes will respect dependency injection

Updates instances of `new X` to `X::create` so that Silverstripe classes will respect dependency injection
Copy link
Member

@emteknetnz emteknetnz left a comment

Choose a reason for hiding this comment

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

Please rebase on 5.0 (as opposed to 5) after #10788 is merged and update target branch to 5.0 and we can immediately patch release 5.0.3 for you

@blueo
Copy link
Contributor Author

blueo commented May 24, 2023

I'll close this and rebase + change the branch name so it doesn't create issues with the composer jazz

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