json
json
DTDrizzle Team
Created by Serverless on 6/1/2023 in #help
Is there a way to limit update to just 1 document?
+1 on this
5 replies
DTDrizzle Team
Created by msu on 9/17/2023 in #help
Delete limit and offset?
+1 on this
13 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
Thanks. Ideally, what I'd want is a way to deactivate overly strict validation for convex functions in general. I will use this for now, thanks.
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
and get the full ts developer experience
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
Thanks. IMO, part of makes convex so great to use is being able to call backend functions as if they were normal javascript/typescript functions. However, these are the small things that get in the way of simply being able to treat them as normal functions
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
No description
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
since I was re-using the table definition as parameter validators, but then the mutation would complain _id was passed in
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
however AFAIR, I had this same problem validation when directly PUTing the full object back into convex without using helpers
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
i guess this error comes from the convex-helper crud being too strict
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
especially if you are just retreiving an item from convex, mutating it and sending back the new version
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
my use case is probably more niche, but ^this is more common
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
i could probably diff() real changes and then send a PATCH with only what changed, but i didn't :p
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
I pass the whole object, instead of patching only what changed
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
so when I finally make the next decision at the end of the decision-taking function, and update the state with information that changed
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
^this part is functional programming related
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
all of these are pure functions which don't mutate the database, they only return new information which can then be considered to make new decisions. This lets me centralize the decision-making in a single function, instead of spreading it all around
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
its a pretty complex flow with many functions, so if I were to call update functions inside each one one of them to update only what changed, understanding what's going on (and where) gets pretty unwiedly
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
No description
48 replies
CCConvex Community
Created by json on 4/26/2024 in #general
Ignore extra fields
No description
48 replies