I applied hidden property on password:
@Column({nullable: true, select: false})
password: string;
Doing the login i need the password filed. So according to he documentation i can select this hidden value by using:
const qb = getConnection().createQueryBuilder()
const user = await qb
.select("password", "password")
.from(User, 'user')
.where("password = :password", {
password: password
})
.addSelect('password', 'password')
.getOne()
Doing this i get undefined and the password property anyway remains hidden.
How to get hidden values in my situation?