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

Make ServiceEntityRepository lazy on Symfony 6.2+ #1599

Merged
merged 2 commits into from
Jan 6, 2023

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Dec 27, 2022

Best reviewed ignoring whitespaces.
See symfony/symfony#48666 for background.

@nicolas-grekas nicolas-grekas changed the title Enable attaching an entity listener without specifying an event Make ServiceEntityRepository lazy on Symfony 6.2+ Dec 27, 2022
@nicolas-grekas
Copy link
Member Author

Closing in favor of #1600

@nicolas-grekas nicolas-grekas deleted the lazy-service-repo branch December 28, 2022 09:26
@nicolas-grekas nicolas-grekas restored the lazy-service-repo branch December 30, 2022 10:41
@nicolas-grekas
Copy link
Member Author

Reopening as discussed in #1600

@ostrolucky
Copy link
Member

tests should be fixed

@ostrolucky ostrolucky added the Bug label Dec 30, 2022
@ostrolucky ostrolucky added this to the 2.8.1 milestone Dec 30, 2022
@nicolas-grekas nicolas-grekas force-pushed the lazy-service-repo branch 4 times, most recently from c31d200 to 247579f Compare December 30, 2022 11:19
@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Dec 30, 2022

How can I tell psalm to ignore the missing trait?

@nicolas-grekas nicolas-grekas force-pushed the lazy-service-repo branch 2 times, most recently from c2cffdc to a979476 Compare December 30, 2022 11:37
@nicolas-grekas
Copy link
Member Author

Tests are green but psalm+cs are red.
I'm going AFK for a week so won't be able to have a closer look before.
If anyone is up to finish the PR, don't hesitate!

@ostrolucky
Copy link
Member

I'll fix CS + SA

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

Successfully merging this pull request may close these issues.

None yet

2 participants