-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
demo/src/Controller/BlogController.php
Line 55 in 206f0c9
$tag = $tags->findOneBy(['name' => $request->query->get('tag')]); |
Hi,
I think a reference application should not promote unnecessary SQL queries. You fetch a tag object from DB then execute another SQL call, why not just passing a tag as a string to the PostRepository instead? Can I offer PR to fix this line to use just one SQL call?
dmaicher
Metadata
Metadata
Assignees
Labels
No labels