feat: move astro config validation after astro:config:setup#13482
feat: move astro config validation after astro:config:setup#13482
Conversation
🦋 Changeset detectedLatest commit: ef18425 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
CodSpeed Performance ReportMerging #13482 will not alter performanceComparing Summary
|
ematipico
left a comment
There was a problem hiding this comment.
I believe the new names are misleading. Calling the new schema refined isn't correct IMHO, unless I misunderstood its intent. Now that we have a schema that runs after the hooks, we can also run transformations, right? Without affecting downstream integrations.
If so, can we call the new schema post validation or something similar?
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
|
@ematipico it's called |
|
Ok, I thought the initial intent of the PR was to allow transformations after validation. |
delucis
left a comment
There was a problem hiding this comment.
Thanks for the ping @florian-lefebvre! Left some comments.
|
@delucis, I am going to merge this PR. Please let us know if you have concerns. |
…o#13482) * feat: move astro config validation after astro:config:setup * feat: superRefine * fix: test * feat: update test * feat: update test * fix: test * feat: feedback * feat: improve logging * feat: refactor * fix: no spread * feat: split schemas * chore: changeset * Update packages/astro/src/core/config/schemas/README.md Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Update packages/astro/src/integrations/hooks.ts * Update packages/astro/src/core/config/schemas/README.md * Update .changeset/easy-vans-laugh.md * Update .changeset/easy-vans-laugh.md * grammar nit in changeset --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com> Co-authored-by: delucis <357379+delucis@users.noreply.github.com> Co-authored-by: sarah11918 <5098874+sarah11918@users.noreply.github.com>
Changes
refineandsuperRefinewere only called when validating the user's configastro:config:setupfor each integrationTesting
Updated, should pass
Docs
Changeset, no docs update needed I think