Hi @Mike This looks like a duplicate of this recent topic:
We have an internal ticket to extend the the create
method to accept ID
. Note my response in that topic, since there is rarely a reason (thank you for providing an example!) to perform MyColl.create({ id: newId(), ... })
; the process that hands out keys for newId
is the same one that auto-generates ids when you don’t provide an id
field.
The byId
method can already accept String | Int | ID
. It does look like docs need updated, though, so I will pass that on.
Thanks, as always, for your feedback! Keep it coming