is this behaviour somehow related with the fact th...
# spring
f
is this behaviour somehow related with the fact that a class with a field is saved as if the field was the class?
Copy code
class A(b: B)
is saved in the db:
Copy code
{
   _id: ....,
   _class: "B"
}
but it should be:
Copy code
{
    _id: .....,
    _class: "A",
    b: { .... }
}