-
Notifications
You must be signed in to change notification settings - Fork 192
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
Querybuilder init now accepts entity_type = '' #4299
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #4299 +/- ##
===========================================
+ Coverage 72.83% 79.21% +6.39%
===========================================
Files 468 468
Lines 34559 34559
===========================================
+ Hits 25166 27374 +2208
+ Misses 9393 7185 -2208
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ramirezfranciscof , some minor requests
There was a bug when using the queryhelp of a previously defined QueryBuilder which was appended a single query for the generic "Node" class as a template in the initialization for a new query. The underlying problem was that the append method was doing the wrong checks to detect missing cls/entity_type. Also modified a test to check for this specific case.
36e9309
to
72ae63f
Compare
@sphuber very sorry for the commented leftovers, I had to take a break between making it work and preparing the PR and in the middle I forgot to take those out. Now it should be ready, I will re-request your final review once all the CI tests pass. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, thanks @ramirezfranciscof
There was a bug when using the queryhelp of a previously defined
QueryBuilder which was appended a single query for the generic "Node"
class as a template in the initialization for a new query.
The underlying problem was that the append method was doing the wrong
checks to detect missing cls/entity_type.
Also added a test for this new specific case.
Fixes #4248