-
Notifications
You must be signed in to change notification settings - Fork 3
JOIN semantic for nested objects filtering #39
Comments
Proposal for minimal implementation:
|
An idea for optimization: if a condition is set on connection part, then it can be checked in the object itself. |
Proposal: Reuse executor for objects fetchingThe idea of the proposal: it is not good to implement executor while we have one. Implementation notesIn resolve function we can decide if a filter has constraints on inner objects, then it:
Pros
Cons
will not work, because we have condition on price, but we do not retrieve price
|
I’m going to implement the first approach (subrequests on the accessor_general level, no even caching) while we have no strong opinion how the future optimized executor will be implemented. |
Note: The PoC implementation (see referencing commit above) does not follow the initial proposal in details. TBD: describe the approach of PoC. |
Note: there was incomplete effort on the topic from Alex: 5935921. |
There are two approach to handle nested objects that are failed to fetch by a 1:1 connection:
I don’t sure which option should be implemented (or both?).
The text was updated successfully, but these errors were encountered: