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

ref(normalization): Reduce processor module visibility #2729

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

iker-barriocanal
Copy link
Contributor

Follow-up to #2714 (comment).

The are a lot of tests requiring NormalizeProcessor in transactions/processor.rs, forcing higher visibility than necessary on normalize/processor.rs. This PR moves required tests from one module to another, thus reducing the required module visibility. As we continue to refactor the processors, we'll find a better home for functions and tests.

This PR does not contain any functional changes or updates to tests.

#skip-changelog

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This module now contains very little functionality. I'm going to keep it for now, as more things will be moving around and I don't want to set a clear definition of modules until functional refactors are finished. Let me know if you have a strong opinion that differs from this.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would still rename this module in this PR, just to reflect it does not contain processor anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah that's fair. Addressed in c31fea2.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would still rename this module in this PR, just to reflect it does not contain processor anymore.

@iker-barriocanal iker-barriocanal merged commit cc2f3c7 into master Nov 16, 2023
@iker-barriocanal iker-barriocanal deleted the iker/ref/norm-proc-visibility branch November 16, 2023 13:15
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.

2 participants