We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dynamic routes rendered on the edge with runtime: 'experimental-edge' do not correctly parse the slug into the page parameters.
runtime: 'experimental-edge'
This is demonstrated by the failing e2e test: edge-render-getserversideprops
edge-render-getserversideprops
/123?hello=world
Expected: {"url":"/123?hello=world","query": {"hello":"world" ,"id":"123"},"params": {"id":"123"},"now": 1673955487763}
{"url":"/123?hello=world","query": {"hello":"world" ,"id":"123"},"params": {"id":"123"},"now": 1673955487763}
Actual: {"url":"/123?hello=world","query": {"hello":"world"},"now": 1673955487763}
{"url":"/123?hello=world","query": {"hello":"world"},"now": 1673955487763}
https://github.com/orinokai/test-next-edge-slug
4.30.0
netlify.toml
None
No response
next.config.js
The text was updated successfully, but these errors were encountered:
Marc and I were looking into this issue and are needing more info on what's going on. @ascorbic are you already working on this?
Sorry, something went wrong.
I started looking at it, and it's a tricky one. It might require edge router
ascorbic
Successfully merging a pull request may close this issue.
Summary
Dynamic routes rendered on the edge with
runtime: 'experimental-edge'
do not correctly parse the slug into the page parameters.This is demonstrated by the failing e2e test:
edge-render-getserversideprops
Steps to reproduce
/123?hello=world
Expected:
{"url":"/123?hello=world","query": {"hello":"world" ,"id":"123"},"params": {"id":"123"},"now": 1673955487763}
Actual:
{"url":"/123?hello=world","query": {"hello":"world"},"now": 1673955487763}
A link to a reproduction repository
https://github.com/orinokai/test-next-edge-slug
Next Runtime version
4.30.0
More information about your build
netlify.toml
)What OS are you using?
None
Your netlify.toml file
No response
Your public/_redirects file
No response
Your
next.config.js
fileNo response
Builds logs (or link to your logs)
No response
Function logs
No response
.next JSON files
No response
The text was updated successfully, but these errors were encountered: