fawwazF
Convex Communityโ€ข3y agoโ€ข
7 replies
fawwaz

Hey all again ๐Ÿ‘‹ I have an aggregate

Hey all again ๐Ÿ‘‹ , I have an aggregate that get intilized by it's own id before being persisted to Convex. After many tries I kept hitting a validator error (the on the mutation). Eventually I just copied an the id of an existing record, deleted that record and tried using that Id, but I discovered that Convex ignored the
_id
and inserted the document with another
_id
. Is there is no way of assigning an Id to a record before
insert
?
Was this page helpful?