I'm trying to use the revision approach for the concurrency problem.
This is my entity
public class public class Notification : IRevisioned
{
public string Id { get; set; }
// other props
public int Version { get; set; }
}
Then when updating the document, I got this exception
Marten.Exceptions.DocumentIdTypeMismatchException: Invalid id of type string for document type Domain.Notification.
Unsure what went wrong with the above code?
I'm trying to use the revision approach for the concurrency problem. This is my entity
Then when updating the document, I got this exception
Marten.Exceptions.DocumentIdTypeMismatchException: Invalid id of type string for document type Domain.Notification
. Unsure what went wrong with the above code?Version: 7.16.0