Fi1osof
04/28/2018, 8:15 PMconst user = await ctx.db.query.user({ where: {
username,
} })
Error: Field "user" of type "User" must have a selection of subfields. Did you mean "user { ... }"?
(node:26108) UnhandledPromiseRejectionWarning: GraphQLError: Syntax Error GraphQL request (82:1) Unexpected String
81:
82: """
^
83: An object with an ID
nilan
04/30/2018, 5:55 PMconst user = await ctx.db.query.user({ where: {
username,
} }, info)