Describe the bug
MongoDataProvider update method doesn't use global toDb method
To Reproduce
Steps to reproduce the behavior:
- Create new Entity with field like this:
@Fields.string({
valueConverter: {
fieldTypeInDb: 'dbid',
},
})
institutionId!: string;
- Insert new document from this entity
- Update the
dbid field
- The
dbid field saved as string
Expected behavior
The field should stay ObjectId
Screenshots

Describe the bug
MongoDataProvider update method doesn't use global toDb method
To Reproduce
Steps to reproduce the behavior:
dbidfielddbidfield saved as stringExpected behavior
The field should stay
ObjectIdScreenshots
