restored 1.6.3 broken to... ``` const user = aw...
# orm-help
f
restored 1.6.3 broken to...
Copy code
const user = await ctx.db.query.user({ where: { 
    username,
  } })
Copy code
Error: Field "user" of type "User" must have a selection of subfields. Did you mean "user { ... }"?
It's fixed prisma-binding@1.5.10+ But above v1.5.12 errors
Copy code
(node:26108) UnhandledPromiseRejectionWarning: GraphQLError: Syntax Error GraphQL request (82:1) Unexpected String

81:
82: """
   ^
83: An object with an ID
n
try
Copy code
const user = await ctx.db.query.user({ where: { 
    username,
  } }, info)