-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
@konsultaner
Description
I have a model:
public class MyModel implements Serializable { @DocumentField(DocumentField.Type.ID) protected String id; @DocumentField(DocumentField.Type.KEY) protected String key; }
When setting the id to MyModel/1
and using synced version of
collection.insertDocument(myModel, documentCreateOptions);
The model will be stored with a key of 1
. If I use the async verion of it I get a random key like 23748972
. Is this a bug or a wanted behaviour?