-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
refactor(opts): remove config from opts #9562
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
8 Skipped Deployments
|
@@ -172,7 +172,7 @@ impl Default for CacheActions { | |||
} | |||
} | |||
|
|||
#[derive(Clone, Debug, Default, PartialEq, Eq)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the Default
impl here because we shouldn't automatically create a default, it should directly flow from config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very minor comments around naming/visibility
Description
Remove the config field from
Opts
entirely. I'm doing this because the config data already gets partially moved intoOpts
, so by keeping the config around, we have multiple sources for the same data. NowOpts
is the fully transformed, normalized config for a run.You can review this commit by commit if you like
Testing Instructions