while working with quarkus I got an issue which seems to be actually a mongoldb driver problem.
I have additional custom getters and setters on my objects which gets detected even if I add a
@BsonIgnore to the method. The issue that something (I guess the codec) tries to map the additional setter to a field type. It should be possible to ignore custom getters and setters as long as there is the normal getter and setter in place. It’s a big pain on writing domain driven code. As I don’t have deep knowledge about how things are working with mongoDB, you can find the original bug report with some background information here: https://github.com/quarkusio/quarkus/issues/16399