-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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(i18n): breakdown routing strategy #9236
Conversation
🦋 Changeset detectedLatest commit: 3f80577 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 |
b67f46f
to
92bf846
Compare
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.
Thanks for updating this @ematipico!
Co-authored-by: Chris Swithinbank <[email protected]>
Co-authored-by: Chris Swithinbank <[email protected]>
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’m not super familiar with the routing code but at least superficially code looks good to me and docs do too!
Changes
This PR addresses RFC change: withastro/roadmap@089253d
Closes PLT-1269
Thanks to zod
.transform
, the only changes are user-facing and logically it stays the same.The code changes I did are:
routingStrategy
torouting
, which is transformed in a string (we can then decide to change the string themselves, but it's only bikeshedding)Testing
All tests should pass after updating the configuration to use the new shape.
Docs
/cc @withastro/maintainers-docs for feedback!