Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove Transform::_prep_transform_chain #1018

Merged
merged 3 commits into from
Feb 8, 2023

Conversation

rukai
Copy link
Member

@rukai rukai commented Feb 6, 2023

We talked about removing this 2 years ago but still to this day no transforms use it and the chain never calls it.
So I think its time to remove it.
If the transform needs this functionality they can very easily implement it themselves by storing their state in an Option or using a boolean flag, which is IMO easier to reason about for transform authors than yet another function to implement.

Copy link
Member

@benbromhead benbromhead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rukai rukai force-pushed the remove_prep_transform_chain branch from 38c1384 to ef9ffe7 Compare February 7, 2023 23:01
@rukai rukai enabled auto-merge (squash) February 7, 2023 23:04
@rukai rukai merged commit a0e7645 into shotover:main Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants