Hi :slightly_smiling_face: I imported `User` type ...
# orm-help
a
Hi 🙂 I imported
User
type into my schema.graphql. When ever I try to for example query as such:
const user = await ctx.db.user({ email });
. I log out
user.password
and it returns
undefined
. The User object returns only:
Copy code
{ middleName: 'vic',
  email: 'test@test',
  lastName: 'Roman',
  firstName: 'Alejandro',
  id: 'cjmzgzmgc000708611vn6klyw' }
but it is missing role and password. I am trying to plug use bcrypt's compare function, but it wont work since the arguments
user.password
returns as undefined. Would anyone happen to be able to point me in the right direction