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

Group by usecase #186

Merged
merged 4 commits into from
Dec 8, 2020
Merged

Group by usecase #186

merged 4 commits into from
Dec 8, 2020

Conversation

samdark
Copy link
Member

@samdark samdark commented Dec 2, 2020

Q A
Is bugfix?
New feature?
Breaks BC? ✔️
Fixed issues -

@samdark samdark requested a review from a team December 2, 2020 14:35
@samdark samdark added the status:code review The pull request needs review. label Dec 2, 2020
@@ -102,8 +102,7 @@
],
],
'annotated-entity-paths' => [
'@src/Entity',
'@src/Blog/Entity',
'@src',
Copy link

Choose a reason for hiding this comment

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

Is there a performance impact? Cycle needs to check all classes in that case

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure there is but that's done only once. Then schema is cached.

Copy link

Choose a reason for hiding this comment

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

Is it possible to warmup cache?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, with ./vendor/bin/yii cycle/schema/rebuild.

@rustamwin
Copy link
Member

@samdark samdark merged commit bebcd37 into master Dec 8, 2020
@samdark samdark deleted the group-by-usecase branch December 8, 2020 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:code review The pull request needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants