fsdonks / m4

Other
0 stars 1 forks source link

after-split stuff transform order #71

Open fs-tom opened 1 year ago

fs-tom commented 1 year ago

@fs-craig

Is there ever a case where we want to alter the order of transforms?

Rigiht now we have to add-transform to the top-level or mixed project to inject its transforms prior to the currently always enabled random-initials. So the flow is project->split->apply user transforms -> apply random initials -> nothing else.

For future reference we could provide before/after hooks (where :after-split-transform is currently equivalent to a before, where before is in the context of the random-initials xform). File this away in case we run into trouble in the future.