You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of requiring me to modify element state, allow me to pass variables object directly to the execute (or mutate)? method
// instead of thismutate(event){const{ id }=event.target.datasetthis.$.mutation.variables={ id };// modifying statethis.$.mutation.execute();// no params}// allow this:newMutate(event){const{ id }=event.target.datasetthis.$.mutation.mutate({ id });// no params}
The text was updated successfully, but these errors were encountered:
Instead of requiring me to modify element state, allow me to pass variables object directly to the
execute
(ormutate
)? methodThe text was updated successfully, but these errors were encountered: