Menu

#34 Converter on attribute is not called

v1.0 (example)
open
nobody
5
2014-02-23
2014-02-23
No

Hello,

I just recently found a bug. This is the example:

class ... {
...
@Attribute(name = "attr")
@Convert(MyConverter.class)
private MyObject obj;
...
}

The problem is that the converter is not called. If I replace @Attribute to @Element, it works, but it is an element instead of an attribute.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.