You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UniqueViolationException currently in the instances created by objectbox itself in the error message is the id that conflicts with the document we want to insert, I wonder if it is possible to add this id as an attribute of the UniqueViolationException class, it would be useful.
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion! I guess the expectation in this case is that the code never does a conflicting insert, e.g. it does a query beforehand to find a possible duplicate. Which can be used to obtain the object ID of a potential duplicate.
UniqueViolationException currently in the instances created by objectbox itself in the error message is the id that conflicts with the document we want to insert, I wonder if it is possible to add this id as an attribute of the UniqueViolationException class, it would be useful.
The text was updated successfully, but these errors were encountered: