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

add examples for migration v5 #1712

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

bjohansebas
Copy link
Member

Examples are added for better understanding of the changes that were made; this was an idea that came from #1705.

Copy link

netlify bot commented Dec 10, 2024

Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit 7452886
🔍 Latest deploy log https://app.netlify.com/sites/expressjscom-preview/deploys/678ea9fdee4c5800082ac65e
😎 Deploy Preview https://deploy-preview-1712--expressjscom-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@bjohansebas bjohansebas force-pushed the examples-in-migration branch from e4f794e to a6c2f37 Compare December 10, 2024 22:58
```

{% capture note_wildcard %}
If your defined route is `/*splat`, it will not include `/`, so you will need to make the route optional.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blakeembrey
Is this wording correct? It’s a recurring problem i’ve seen, which is why I wanted to add that note, but I’m not sure if this is the best phrasing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so you will need to make the route optional.

I am not sure I follow what you are saying here. Is it not enough to just end that sentence after the first part?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wesleytodd I changed the phrasing a bit, I think it’s clearer now.

*splat matches any path without the root path. If you need to match the root path as well /, you can use /{*splat}, wrapping the wildcard in braces.

@bjohansebas bjohansebas requested a review from a team December 10, 2024 23:05
@bjohansebas bjohansebas requested a review from a team January 8, 2025 17:29
Copy link
Member

@wesleytodd wesleytodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the one comment I made (which is more of asking for clarification than a blocker) this looks good!

@bjohansebas bjohansebas requested a review from IamLizu January 14, 2025 20:42
@bjohansebas bjohansebas force-pushed the examples-in-migration branch from a6c2f37 to 7452886 Compare January 20, 2025 19:54
@carlosstenzel carlosstenzel merged commit 899dbfd into gh-pages Jan 21, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment