Yvens
Yvens
CCConvex Community
Created by Yvens on 6/12/2024 in #support-community
Mock Service Worker implementation
@Michal Srb Yes I’m trying to test my logic in response to an api call in my react code
4 replies
CCConvex Community
Created by Yvens on 5/1/2024 in #support-community
Paginate many to many edge (ents)
Yes ok thank you 🙏🏾
8 replies
CCConvex Community
Created by Yvens on 5/1/2024 in #support-community
Paginate many to many edge (ents)
Ok no problem, any thought on this workaround ?
await ctx.table("users").filter(q => q.eq(q.field("organizationId"), organizationId)).paginate(paginationOpts)
await ctx.table("users").filter(q => q.eq(q.field("organizationId"), organizationId)).paginate(paginationOpts)
` Thank you
8 replies
CCConvex Community
Created by Yvens on 5/1/2024 in #support-community
Paginate many to many edge (ents)
For now I've done this as workaround:
await ctx.table("users").filter(q => q.eq(q.field("organizationId"), organizationId)).paginate(paginationOpts)
await ctx.table("users").filter(q => q.eq(q.field("organizationId"), organizationId)).paginate(paginationOpts)
`` But I had to add an organizationId field, and not use the edge
8 replies
CCConvex Community
Created by Yvens on 4/29/2024 in #support-community
Optional one to many relationship (convex-ents)
@ampp ohhh wow I didn't know about that, let me take a look
9 replies
CCConvex Community
Created by Yvens on 4/29/2024 in #support-community
Optional one to many relationship (convex-ents)
Hello @Michal Srb any idea on how to replace search since I can't use withSearchIndex with ctx.table ? I mean in convex way. For now I will implement it myself
9 replies
CCConvex Community
Created by Yvens on 4/29/2024 in #support-community
Optional one to many relationship (convex-ents)
Ok thanks for the advice
9 replies
CCConvex Community
Created by Yvens on 4/29/2024 in #support-community
Optional one to many relationship (convex-ents)
you answered so fast thank you
9 replies
CCConvex Community
Created by Yvens on 4/29/2024 in #support-community
Optional one to many relationship (convex-ents)
@Michal Srb ok, if I model it without ents, i presume that I won't be able to use the edge methods on this relationship too right ?
9 replies
CCConvex Community
Created by Yvens on 4/24/2024 in #support-community
Convex-test/ents
Yes I did thank you
42 replies
CCConvex Community
Created by Yvens on 4/24/2024 in #support-community
Convex-test/ents
Hello @Michal Srb @ballingt , I made the update but getting the type error Cannot find module 'convex-ents' or its corresponding type declarations. for convex-ent: 0.5.1 And also: cannot use namespace 'EntDefinition' as a type. Any idea ?
42 replies
CCConvex Community
Created by Yvens on 4/24/2024 in #support-community
Convex-test/ents
Thank you !
42 replies
CCConvex Community
Created by Yvens on 4/24/2024 in #support-community
Convex-test/ents
No sorry I didn't try to do that
42 replies
CCConvex Community
Created by Yvens on 4/24/2024 in #support-community
Convex-test/ents
For now I just silenced it with // @ts-ignore
42 replies
CCConvex Community
Created by Yvens on 4/24/2024 in #support-community
Convex-test/ents
Ok my bad, we have the same problem then. It is because defineSchema is replaced by defineEntSchema I think, let’s wait to hear about it from @Michal Srb
42 replies
CCConvex Community
Created by Yvens on 4/24/2024 in #support-community
Convex-test/ents
Do you mean that it crashes or just like me you’ve got the type warning only ?
42 replies
CCConvex Community
Created by Yvens on 4/24/2024 in #support-community
Convex-test/ents
If you can give me a reproduction MAYBE I can check what’s wrong, as for me I only have a problem with the type definition of the schema (ents types I think ) that I passed to the convexTest function but everything else is working fine
42 replies
CCConvex Community
Created by Yvens on 4/24/2024 in #support-community
Convex-test/ents
@ampp did you guys managed to make it work for you ?
42 replies
CCConvex Community
Created by Yvens on 4/24/2024 in #support-community
Convex-test/ents
Hello @Michal Srb, yes I did just as you suggested after thinking for a bit. Well as of now if it is the preferred way of doing things with ents, I don't have any more questions. Thank you
42 replies
CCConvex Community
Created by Yvens on 4/5/2024 in #support-community
Problem testing convex function with convex-test.
@Michal Srb Thank you !
18 replies