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
Map fields of object snapshots containing keys with dots cannot be persisted.
It would be perfect to add possibility to set map key dot replacement ('.' <> '#dot#' for example) in Javers MongoRepository or Javers at all.
The text was updated successfully, but these errors were encountered:
Hi, completely forgot about test case, sorry.
I've just added a case to JaversMongoRepositoryE2ETest, so now MongoIntegrationTest should fail on it. Unfortunately I couldn't run this test on my local machine. Please, confirm if you can reproduce the issue.
Here is the link to branch with test case in my fork: issue416
It looks great) But this solution does not work for nested maps, still getting the same exception: def version2 = new SnapshotEntity(id: 1, polymorficMap: ['key':['primitive.value':1]]) javers.commit('author', version2) snapshots.getPropertyValue('polymorficMap') == ['key':['primitive.value':1]]
I've update branch in my fork with this case.