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
MongoDB cannot store JSON keys, starting from "$". So, when we try to save a Map with a $-starting key, mongo fails with:
fields stored in the db can't start with '$' (Bad Key: '$key')
My current workaround is to extend org.springframework.data.mongodb.core.convert.MappingMongoConverter and override potentiallyEscapeMapKey(String). Maybe this is good to be in master?