Idan
Idan
CCConvex Community
Created by Idan on 11/24/2023 in #general
Hey guys, quick question, I have an
got it, thank you!
6 replies
CCConvex Community
Created by Idan on 11/24/2023 in #general
Hey guys, quick question, I have an
@Lee Can you provide an example? lets say i have this product: products: defineTable({ title: v.string(), description: v.optional(v.string()), marketplace: v.string(), coverImage: v.string(), addedBy: v.string(), url: v.string(), price: v.number(), currency: v.string(), numberOfReviews: v.number(), rating: v.number(), }) In this args of a query I've created i want to pass a product instead of an coverImage: args: { coverImage: v.string() }, Thank you
6 replies
CCConvex Community
Created by Idan on 11/24/2023 in #general
Hey guys, quick question, I have an
@nipunn Thank you for the response, That will just make it much less secure, It seems odd that there is not a way to infer the type of a document that is already have been created and already have a type. like for example when using the DOC<"products"> type for a type of a product object
6 replies