Tag: variables
-
How to comment in the GraphiQL’s variable section
0 When using GraphiQl how can I make comment’s in the variable section? Is it even possible? For example I can make comment’s in the query section using # like: query ProductVariants($quantityPro: Int!, $quantityVar: Int!) { products(first: $quantityPro) { edges { node { id # Title of the product title variants(first: $quantityVar) { edges {…
-
How to Set GraphQL Variables in PHP
1 I’m using the FXHash API to access listings with this query: query Listings($sort: ListingsSortInput) { listings(sort: $sort) { amount createdAt price issuer { name } objkt { name } } } $options = ‘{ "sort": { "createdAt": "DESC" } }’; I’d like to use the query above in PHP with the sort by createdAt…