►
From YouTube: Vulnerability History Discussions Powered by GraphQL
Description
This video is an MR Walkthrough which describes how the feature works. Here's the link to the MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/69353
A
So
previously
we
were
using
the
rest
endpoints
for
this,
and
this
video
is
going
to
walk
you
through
the
last
piece,
which
is
fetching
the
notes
through
graphql
and
so
yeah.
Let's
get
started,
so
I
am
right
now
in
a
in
a
vulnerability
details
page
the
state
is
deducted,
so
there
is
right
now
here
in
the
footer
part,
there
is
graphql
query
which
polls
for
the
discussions
and
a
discussion
is
generated
through
a
status
change.
A
A
Still
works
and
I
can
delete
it
now
next
time
I
change
the
status.
Another
thread
will
appear
so
here
I
can
go
ahead
and
then
type
something
this
for
variability
is
now
resolved
and
I
can
save
the
comment
so
the
way
it
works.
There
is
a
graphql
query
which
pulls
for
the
discussions
every
five
seconds.
A
And
when
this
changes
it
also
in
the
code,
there
is
also
an
event
which
basically
tells
this
page
to
refresh
the
header
part.
So,
as
you
can
see,
the
status
is
now
confirmed,
so
I'm
changing
tabs
again,
and
this
is
confirmed
and
if
I
change
it
to
resolve,
you
will
see
that
first,
it's
confirmed
and
then
it
automatically
it
is
updated
to
result,
and
if
I
scroll
down,
you
will
see
that
there
is.
There.
Is
this
discussion,
so
that's
it
with
this.
A
Mr
now,
the
whole
vulnerability
history
part
is
powered
by
graphql.
This
was
the
last
comment
last
comment
so
yeah.
That's
it
thanks
for
watching
the
video
and
have
a
great
day.