►
From YouTube: Magento GraphQL Community Meeting, 30 August 2018
Description
Agenda:
1) Change account and newsletter info (Updates) (PR #162, @nuzil)
2) Adding simple product to cart (Updates) (@roma-glushko)
3) Authentication validator for Cart Mutations (@Yaroslav Rogoza)
Hosted by @roma-glushko
GraphQL Community Project Wiki: https://github.com/magento/graphql-ce/wiki
Mind Map: https://www.mindmeister.com/1094880388?t=a5LVAQ71Vq
Backlog (with Zenhub): https://github.com/magento/graphql-ce#boards?repos=128075669&showPRs=false
Backlog (without Zenhub): https://github.com/magento/graphql-ce/issues
Zenhub Chrome Add-on: https://chrome.google.com/webstore/detail/zenhub-for-github/ogcgkffhplmphkaahpmffcafajaocjbd
B
C
When
welcome
guys
today,
we
have
a
weekly
demo
for
graphical
project
and
as
far
as
I
see,
we
have
four
points
now
agenda,
which
is
basically
means
that
Alex
Yara
and
me
will
be
talking
about
our
progress
since
last
week
and
last
meeting
so
yeah.
Let's
get
it
started,
yeah.
Regarding
the
first
point
in
the
morning,
I
usually
read
Twitter
to
feet,
and
this
time
I
read
about
tweet
from
Alex,
where
he
told
that
it
was
his
first
request
to
this
project
and
now
I'm
happy
to
pass
word
to
you.
D
That's
very
cool
yeah.
The
progress
like
the
functional
of
the
poor
request,
I
met
I,
showed
the
last
last
meeting
was
recorded.
If
somebody
interesting
you
could
watch
it
sign
that
it's
not
so
many
time
to
develop
something
you
but
I
can
rate
and
show
you
so
journey.
I
made
a
pull
request
with
this
functionality.
I
made
some
code
clean
in.
There
then
checked
that
everything
works
again
else
to
request.
If
somebody
don't
know
is
related
to
the
two
issues
for
my
account
notations.
D
If
I
will
do
it
in
this
pool
request,
cope
I
would
maybe
we'll
wait
till
this
will
be
done,
and
then
it
will
make
it
with
an
additional
four
requests
after
it,
and
we
already
discussed
with
Valerie
the
failed
Travis
which
mostly
related
to
the
static
test.
So
I
will
reorganize
illogical,
Remora
factors
or
main
resolver
method
and
we'll
put
this
functionality
to
to
another
class
to
make
the
less
dependencies
here.
So
they
look
sexier
and
much
but
implemented
from
the
static
test
point
of
view,
yep
the
generate
all
from
my
side.
C
C
C
C
C
I'll
add
in
a
new
new
mapping,
which
means
that
simple
product
will
be
mapped
by
simple
cart
item
in
the
graphical
schema,
and
here
yo.
We
have
this
one
yeah
and
also
will
have
resolver
for
this
product
specific
fields
like
estimize,
herbal
options,
yeah
and
yeah.
Probably
there
is
nothing
new
and
interesting.
Just
a
new
mutation
and
a
couple
of
input,
interface
and
output
interfaces
here
and
couple
interfaces
to
support
customizable
options
and
right
now,
I
can
make
it
to
add
simple
product
to
the
cart
and
remaining
stuff.
C
I
need
to
complete
is
to
make
sure
that
all
types
of
customizable
options
are
enabled
by
this
API
and
also
make
it
so
that
the
output
data
enable
showing
edit
customizable
options
for
simple
single
products:
simple
cart,
items
and
yeah.
This
is
my
testing
testing
results
from
my
testing
of
this
feature
and
also
I'm
gonna.
Add
this
bottle
to
my
card
by
a
graph
QL
and
now
at
least
one
type
of
customizable
options.
I
enable
it,
which
is
a
drop-down
options
and
also
I'm
gonna
check
the
input
slide
here.
C
Close
this
also
date
types
and
the
rest
of
type
that
Magento
sports
and
also
have
couple
questions
to
Alex
Parrish,
so
probably
I'll
be
able
to
ask
them
after
the
meeting
since
he's
not
with
us
right
now
so
yeah
and
also
gonna
add
a
couple
of
tests
for
this
functionality
and
also
perform
some
factoring
the
code,
so
I'll
be
having
something
to
show
on
the
next
demos.
Thank
you.
Do
you
have
any
any
question
about
this?
One.
C
If
no,
we
can
go
ahead
and
let
me
stop
sharing
and
pass
the
word
to
yarrow
and
yarrow
was
working
on
validation
for
card
mutations.
So
we
are,
please
go
ahead
with
your
updates.
F
All
right,
so,
during
working
with
the
shopping,
cart
notations,
we
have
faced
with
the
authorization
problem,
so
the
reason
is
while
working
with
mutations
shopping
carts,
in
quote
the
new
scope
of
graph
QL
project.
We
work
with
hashed
card
ID
instead
of
real
card
ideas,
so
I
have
talked
about
that
and
my
previous
in
so
when
we
work
with
shopping
carts
with
core
functionality
with
Web
API,
especially
with
rest.
We
use
hashed
led
for
gas
cards
and
we
use
the
real
integer
part
value
for
the
customer
card
ID.
F
But
if
we
work
with
the
hair
skirt
ID,
there
is
one
problem:
if
we
create
a
value,
a
hashed
value
or
some
gas
card,
ID
the
weeds
and
gas
type
ID
or
customer
ID,
there
is
no
verification
on
the
course
ID
which
which
detects
that
some
card
with
some
hair
side-
it
belongs
to
some
customer.
So,
for
example,
if
we
create
an
empty
card
or
card
with
items
for
some
customer
using
graph
QL,
we
can
perform
operations
with
this
card
or
from
another
customer
or
as
a
guest,
for
example.
F
So,
if
I
create
some
shopping,
cart
with
some
hashed
ID
I
can
log
out
and
use
this
hash
tidy
for
performing
the
operations,
and
it's
like
not
very
good
practice.
So
we
decided
to
introduce
a
separate
interface
that
performs
check
that
current
card
belongs
to
the
London
customer.
So
it's
a
separate
interface.
We
might
rename
it
in
the
future.
It's
just
a
concept.
So
this
interface
and
the
implementation.
Basically
checks
gets
the
code
from
the
database
with
the
provided
hair
study.
F
It
gets
the
customer
ID
from
this
quote
and
compares
this
customer
ID
with
the
ID
of
the
logged
in
user,
and
if
it's
the
card
has
no
customer
ID
it's
a
guest
card.
We
can
proceed
working
with
this,
the
same
functionality
we
have
in
the
core
and
if,
for
some
reason,
the
customer
ID
in
the
card
is
not
the
same
as
the
customer
ID
of
the
element
in
user.
We
get
holes
here
and
we
can
proceed
as
one
we
can
throw
an
exception
or
so
and
these
interface.
F
This
implementation
also
can
be
reused
in
other
shopping,
cart,
resolvers
that
we
use
within
a
scope
of
your
project.
So
I
really
hope
that
Valera,
we
will
have
a
chance
to
merge
this
request
as
soon
as
possible
and
yeah.
For
example,
let's
say
I
have
shopping,
cart
already
created
and
this
shipping
card
belongs
to
customer.
So
now
I
have
like
authorization
token.
It's
correct,
I
haven't
generated
it
like
ten
minutes
ago,
so
I
can
apply.
Shopping
cart,
apply
a
coupon
to
the
shopping
cart.
F
So
from
the
response
to
see
that
the
coupon
is
correct
and,
let's
say
I
will
remove
the
token
and
try
to
perform
this
operation
as
a
guest
and
I
have
message
that
operation.
This
shopping
cart
is
not
allowed
for
me
and
the
same
station
is
for
removing
coupon
from
shopping
cart.
If
I
perform
the
celebration.
Do
not
allow
me
to
do
that
yep.
So
that's
it.
If
you
have
some
questions,
please
let
me
know
I've.
A
B
A
Yeah
and
and
I've
got
one
quick
question
too
about
this,
just
just
so,
for
my
understanding
is
I
understand
that
this
validator
is
supposed
to
be
reused.
Whenever
a
user
wants
to
take
an
action
on
the
cart
yep,
is
it
designed
to
be
called
every
time
that
the
user
wants
to
perform
a
cart
mutation,
or
is
it
designed
to
where
you
can
check
it
once
and
then
use
it
for.
F
Actually
it's
it's
designed
like
we
can
use
it
everywhere
at
the
moment.
It's
used
on
the
resolver
level,
but
we
can
move
it
to
the
upper
level,
for
example,
to
execute
it
on
every
cart
mutation
in
the
future.
So
it's
really
possible
because
it's
like
it
doesn't
have
some
some
relation
to
resolver
or
so
it
just
accepts
a
port
ID
and
return
boolean
value,
so
we
can
use
it
everywhere.
F
A
C
C
A
This
now
I
know
I
wasn't
in
Singapore.
I
was
on.
I
was
on
my
own
trip
last
week,
but
I.
We
got
an
update,
basically
that
I
I
had
somebody
else
talk
about
the
event,
and
they
were
saying
that
you
know
they
had
several
people
working
on
graph
QL
specifically
enduring
contribution
day.
I.
Think
we've
only
seen
one
or
two
PRS
come
through
right
now,
but
we'll
see
if
there's
any
more
kind
of
outstanding
ones.
A
Maybe
people
will
be
finishing
them
with
time,
but
so
just
the
update
that
I
know
was
that
people
were
working
on
graph.
Ql
people
were
the
mothers
we're
working
on
PWA,
I,
believe,
and
so
these
initiatives
are
gaining
more
awareness
and
more
excitements.
I
think
it'll
be
it'll,
be
great.
If
we
get
you
know
other
contributors
on
these
things,
it'll
allow,
you
know
Magento
to
be
to
be
bigger
and
better.
So
these
they're,
all
these
are
all
great
updates.
Yeah.
Thank
you
guys
for
for
the
work
from
last
week.
A
You
know
the
Roma,
what
you're
doing
with
adding
products
to
cart,
obviously
very
important
fundamental
ability
that
the
PWA
will
be
able
to
use
on
and
same
with,
adding
and
removing
coupons
from
card.
All
these
things
are
extremely
important
and
very
valuable.
So
we
definitely
appreciate
your
guys's
input
and
we'll
get
will
give
we'll
get
Alex
to
give
a
proper
Singapore
update
next
week,
yeah.