-
Notifications
You must be signed in to change notification settings - Fork 327
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
Improvements to API Routing #476
Comments
Allow |
Probably more a general improvement to routing, this could help non API routes as well. Happy to address it here at the same time though! |
blittle
referenced
this issue
Jan 24, 2022
1. Make sure that API routes hot reload properly - Shopify/hydrogen#497 2. Support automatically creating Responses from strings and primitive JS objects - Shopify/hydrogen#476
4 tasks
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Improvements to API Routing:
new Response
new Response(json.stringify(obj))
with JSON content type..index.sever.js
components in foldersuseShopQuery
helper as an argument #779The text was updated successfully, but these errors were encountered: