Skip to content

fix(rspack): move main validation to implementation#28794

Merged
Coly010 merged 1 commit intomasterfrom
rspack/move-main-validation-logic
Nov 5, 2024
Merged

fix(rspack): move main validation to implementation#28794
Coly010 merged 1 commit intomasterfrom
rspack/move-main-validation-logic

Conversation

@Coly010
Copy link
Copy Markdown
Contributor

@Coly010 Coly010 commented Nov 5, 2024

Current Behavior

We currently have validation for the main property in the executor schema, however, this value could be defined in the rspack.config file.
This can cause an inaccurate schema validation error

Expected Behavior

After loading the config file and applying the executor options, run validation over the config.

Related Issue(s)

Fixes #

@Coly010 Coly010 requested review from a team as code owners November 5, 2024 10:06
@Coly010 Coly010 requested a review from leosvelperez November 5, 2024 10:06
@Coly010 Coly010 self-assigned this Nov 5, 2024
@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Nov 5, 2024 10:18am

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Nov 5, 2024

@Coly010 Coly010 merged commit 7e3f256 into master Nov 5, 2024
@Coly010 Coly010 deleted the rspack/move-main-validation-logic branch November 5, 2024 17:22
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants