File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/datasource_toolkit/forestadmin/datasource_toolkit/decorators Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ def __init__(self, datasource: Datasource) -> None:
4141 last = self .early_op_emulate = DatasourceDecorator (last , OperatorsEmulateCollectionDecorator )
4242 last = self .early_op_equivalence = DatasourceDecorator (last , OperatorEquivalenceCollectionDecorator )
4343 last = self .relation = DatasourceDecorator (last , RelationCollectionDecorator )
44- last = self .lazy_joins = DatasourceDecorator (last , LazyJoinCollectionDecorator ) # type: ignore
44+ # lazy join is just before relation, to avoid relations to do useless stuff
45+ last = self .lazy_joins = DatasourceDecorator (last , LazyJoinCollectionDecorator )
4546 last = self .late_computed = DatasourceDecorator (last , ComputedCollectionDecorator )
4647 last = self .late_op_emulate = DatasourceDecorator (last , OperatorsEmulateCollectionDecorator )
4748 last = self .late_op_equivalence = DatasourceDecorator (last , OperatorEquivalenceCollectionDecorator )
You can’t perform that action at this time.
0 commit comments