►
From YouTube: Learning GraphQL - Resolvers
Description
Introduction into Resolvers and how to create a type without direct connection to database
A
I'll
tell
you
we're
continuing
our
journey
with
graph
QL
and
we
had
tried
to
create
some
new
type
and
actually,
let's,
let's
see
how
this
can
be
done.
If
we
don't
have
a
particular
mapping
in
the
database,
so
I'm
actually
a
back-end
developer,
insecure
department
and
we
are
like
really
real
working
a
lot
with
reports
sharing
reports,
and
this
is
basically
it's
not
stored
in
like
normalize
the
data
in
the
database
but
stored
on
the
jason
report,
and
we
are
pressing
it
if
we
need
to
work
on
it.
A
A
A
A
A
A
A
A
A
A
A
A
A
A
So
basically
we
just
get
this
information
and
I
can.
Actually
you
know
how
about
I
can
show
you
you
just
take
another
look
to
resolver,
so
this,
basically
getting
this
collection
and
its
array
of
hash.
You
can
see
that
is
this
execute
method
that
we
actually
call
its
return.
An
array
of
hashes
and
each
hash
have
this
fields
like
name
and
version,
and
we
actually
can
query
for
them.
So
basically,
we
created
this
new
field
for
our
report,
which
does
doesn't
have
a
like
a
direct
normalized
connection
to
the
database.