Optimize variants loading in ProductIndexer#2454
Conversation
|
@glennjacobs appreciate your input on this before working on it |
As we encourage devs to make their own indexers, do you think this is important? |
I think is the out of the box experience. For now I replaced with own indexer, with the minor change as per this PR, because the default already good enough. For the normal use case probably doesn’t feel it. |
|
The breaking change is my concern here. I'm torn :-) I guess v1.5 is a big update, so what's one more breaking change?! |
I think it should be easy upgrade as long as documented. Optimized for those using default. Those making their own would be a minor change in their custom indexer. |
default loading is retrieving all fields of all variants
this changes only select only
skuas only usingskuin the indexercould potentially breaking change if userland extended ProductIndexer and accessing other fields from $model->variants
TODO: