Hello all. I am new to vibe.d and web and development in general so my
excuses for any naive questions in advance.
I have this problem with the deserializeBson -Json functions.
When i add new members at my User class i get null_ Bson values for the
not stored fields in the database when i call :

T getUserByName(T)(string name)
{

auto bsonuser = dbcoll.findOne(["name": name]);

auto user = new T();
deserializeBson(user, bsonuser);
return user;

}
(i need 2 subtypes of Users inheriting from User class, Teacher : User,
Student : User)

If i drop the database and create the users again then it works.
Should i make my own deserialization functions? What is the best way to
deal with this so i dont have to drop the database as i extend my User
class.