Hi, seeing something weird in developing a checkout extension to add a product in the checkout (package protection). When I have the following line:
query {
products(first: 1, query: "handle:'package-protection-free-replacements-returns") {
Things work and I get the following checkout:
But IF i remove the opening single quote ’ or just do this:
query {
products(first: 1, query: "handle:'package-protection-free-replacements-returns'") {
I get instead the first product like so:
I can make in GraphQL explorer a query to get the product by handle, but that does not work (loads then unloads briefly) in the skeleton code from the example here:
Can someone explain why the single ’ works but either bare word or double enclosing it ‘’ does not?