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

Allow unused renames if flag provided #41

Merged
merged 2 commits into from
May 28, 2024
Merged

Conversation

crisptrutski
Copy link
Collaborator

It turns out that a few of our metabase tests depend on certain replacements being ignored, so this adds an option to suppress the validation that each source reference is found at least once.

Since this is not a particularly user friendly error, I think it makes sense to pass this flag by default from Metabase.

Perhaps it should even be the default behavior and Macaw should require an opt-in for the validation. I've left it for now since ergonomically it's nice for all our unit tests to be exhaustive, without a wrapper to set the flag.

@crisptrutski crisptrutski requested a review from piranha May 27, 2024 15:04
@crisptrutski crisptrutski requested a review from tsmacdonald as a code owner May 27, 2024 15:04
@crisptrutski crisptrutski merged commit ac5244c into master May 28, 2024
4 checks passed
@crisptrutski crisptrutski deleted the allow-unused-flag branch May 28, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants