Functions: support dynamic express route parameters #34179
Unanswered
njbmartin
asked this question in
Ideas / Feature Requests
Replies: 2 comments 1 reply
-
Actually, this might be because it's not yet supported in Gatsby Cloud? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hmm does it work locally? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Looking at this PR, named splat routes were added:
#33301
eg.
/api/customers/[...customerId].ts
This is great, but it doesn't look like dynamic routes in Functions are fully supported yet.
Moving from a pure express API to Gatsby Functions, I can't seem to do
/api/auth/[customerId]/[customerEmail].ts
as these return undefined.Beta Was this translation helpful? Give feedback.
All reactions