Description
Move ClusterTransformer and MergeTransformer into the registry as generic operator expanders for architectural consistency. Both already produce AST, so this is relocation and adaptation to the expander protocol rather than a rewrite. Flip the GIQL_EXPAND flags on the CLUSTER and MERGE expression classes.
Motivation
Bringing the last two operators under the single registry mechanism makes the dispatch path uniform across every operator, removing the parallel transformer-chain pathway.
Expected Outcome
CLUSTER and MERGE transpile through the registry; results are unchanged; the standalone transformer classes are removed or reduced to their expander implementations.
Description
Move
ClusterTransformerandMergeTransformerinto the registry as generic operator expanders for architectural consistency. Both already produce AST, so this is relocation and adaptation to the expander protocol rather than a rewrite. Flip theGIQL_EXPANDflags on the CLUSTER and MERGE expression classes.Motivation
Bringing the last two operators under the single registry mechanism makes the dispatch path uniform across every operator, removing the parallel transformer-chain pathway.
Expected Outcome
CLUSTER and MERGE transpile through the registry; results are unchanged; the standalone transformer classes are removed or reduced to their expander implementations.