RJ
RJ
CCConvex Community
Created by aybdee on 4/29/2025 in #support-community
Pattern Matching in http routes
// Define a route using a path prefix
http.route({
// Will match /getAuthorMessages/User+123 and /getAuthorMessages/User+234 etc.
pathPrefix: "/getAuthorMessages/",
method: "GET",
handler: getByAuthorPathSuffix,
});
// Define a route using a path prefix
http.route({
// Will match /getAuthorMessages/User+123 and /getAuthorMessages/User+234 etc.
pathPrefix: "/getAuthorMessages/",
method: "GET",
handler: getByAuthorPathSuffix,
});
5 replies
CCConvex Community
Created by aybdee on 4/29/2025 in #support-community
Pattern Matching in http routes
It is and it's in the docs, but could probably be surfaced better. Check out the third code block in this section: https://docs.convex.dev/functions/http-actions#defining-http-actions
5 replies
CCConvex Community
Created by jamwt on 4/25/2025 in #general
Convex IOU List Feedback
Dream roadmap 🌈
8 replies
CCConvex Community
Created by Jonathan on 4/25/2025 in #support-community
Normilization Best Practices
If you have questions about specific scenarios, feel free to share those and we'll be glad to try to advise as well!
6 replies
CCConvex Community
Created by Jonathan on 4/25/2025 in #support-community
Normilization Best Practices
I think that in general, the same rules apply. I personally prefer to start with a fully normalized data model, and only denormalize as performance requires.
6 replies
CCConvex Community
Created by snoww on 4/11/2025 in #support-community
sharp won't work
I use 0.33.5 and I don't have any issues
12 replies
CCConvex Community
Created by snoww on 4/11/2025 in #support-community
sharp won't work
But it does sound like maybe it's somehow a sharp version issue
12 replies
CCConvex Community
Created by snoww on 4/11/2025 in #support-community
sharp won't work
I wouldn't think this has anything to do with Windows, as the bundling happens on Convex servers
12 replies
CCConvex Community
Created by snoww on 4/11/2025 in #support-community
sharp won't work
Did you add it as an external package? https://docs.convex.dev/functions/bundling#external-packages e.g. in your convex.json
{
"node": {
"externalPackages": ["sharp"]
}
}
{
"node": {
"externalPackages": ["sharp"]
}
}
12 replies