Skip to content

Relocate CLUSTER and MERGE into the operator-expander registry #144

Description

@conradbzura

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorCode restructuring without behavior change

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions