else if (typeOf(value) === 'object') {
value = this.argumentObjectOpeningToken + this.generateArgumentSet(value) + this.argumentObjectClosingToken;
}
When value is an object that is being passing into generateArgumentSet, the following error occurs because the method is trying to call toArray() on the object:
set.toArray is not a function when it's really just expecting it to be a type ArgumentSet or SelectionSet.
What generateArgumentList is actually expecting is an argumentSet
When value is an object that is being passing into
generateArgumentSet
, the following error occurs because the method is trying to calltoArray()
on the object:set.toArray is not a function
when it's really just expecting it to be a type ArgumentSet or SelectionSet.What
generateArgumentList
is actually expecting is anargumentSet
Paired with: @delkopiso