so I have a user type: ``` type User { id: ID! @...
# orm-help
m
so I have a user type:
Copy code
type User {
  id: ID! @unique
  email: String! @unique
  password: String!
  name: String!
  posts: [Post!]!
  role: Role! @default(value: "EMPLOYEE")
  active: Boolean! @default(value: "false")
  token: ActivateToken
}

type ActivateToken {
  id: ID! @unique
  user: User!
  token: String! @unique
}
but when I am in my yoga server
const user = await ctx.db.query.user({ where: { id: args.userId } })
p
have you tried passing the info from the resolver?
Copy code
const user = await ctx.db.query.user({ where: { id: args.userId } }, info)
👍 1