Skip to content

GraphQL call does not work properly #22

@salvobunetto

Description

@salvobunetto

Using the sample code
$call = $api->graph('{ shop { products(first:1) { edges { node { handle, id } } } } }');
You receive the response

Instead if you use
$call = $api->graph('{ shop { products(last:1) { edges { node { handle, id } } } } }');
I receive nothing

Even if I try to make a query
$call = $api->graph('{ shop { products(query:"tag:foo") { edges { node { handle, id } } } } }');
I receive nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions