GraphQL - Basics and Philosophy
You wrote this schema:
and resolver:
But queries return null always. What is the likely issue?
type Query { user(id: ID): User }and resolver:
user: (parent, args) => getUserById(args.id)
But queries return null always. What is the likely issue?
