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

refactor(i18n): breakdown routing strategy #9236

Merged
merged 8 commits into from
Nov 30, 2023
Merged

Conversation

ematipico
Copy link
Member

@ematipico ematipico commented Nov 29, 2023

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:

  • renaming routingStrategy to routing, which is transformed in a string (we can then decide to change the string themselves, but it's only bikeshedding)
  • Documentation and the shape of the user-facing configuration

Testing

All tests should pass after updating the configuration to use the new shape.

Docs

/cc @withastro/maintainers-docs for feedback!

Copy link

changeset-bot bot commented Nov 29, 2023

🦋 Changeset detected

Latest 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

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review labels Nov 29, 2023
@ematipico ematipico force-pushed the feat/change-strategy branch from b67f46f to 92bf846 Compare November 29, 2023 19:01
Copy link
Member

@delucis delucis left a 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!

ematipico and others added 2 commits November 29, 2023 15:32
Copy link
Member

@delucis delucis left a 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!

@ematipico ematipico merged commit 27d3e86 into main Nov 30, 2023
@ematipico ematipico deleted the feat/change-strategy branch November 30, 2023 10:58
@astrobot-houston astrobot-houston mentioned this pull request Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants