Tag: gql
-
Apollo Client gql lte, gte null values Issue
0 I have this query using to query from a graphql subgraph. I use apollo client in my Next.js front-end to query data. This is my query: const DOMAIN_FIELDS = gql` fragment DomainFields on Domain { expires id isListed name listingPrice listingExpiresAt lastSalePrice owner tokenId seller } `; export const GET_DOMAINS = gql` ${DOMAIN_FIELDS} query…
-
Shopify GraphQL: How to add variants using Python and GraphQL
0 I’ve been trying to create product with variants using Python and GQL, but lacking something and dosen’t work as I want. it says "Field ‘optionValues’ doesn’t exist on type ‘ProductOption’" but I reffer to a official document and copy it https://shopify.dev/docs/api/admin-graphql/2023-10/mutations/productcreate#examples-Create_a_product_with_options_and_option_values import requests import json # Shopify API credentials shop_url = "ShopURL" access_token =…
-
Rust Developer – IT Convergence – Sunnyvale, CA
IT Convergence Sunnyvale, CA Depends on Experience Contract: Independent, W2, 12 Month(s) Skills Rust GQL GraphQL Job Description Seeking a RUST Developer for a long-term contract with aa leading global retail chain corporation in the United States. This is hybrid role in Sunnyvale, CA. Please review the job description below and let me know if…
-
SW Engineer (Rust Developer) – Flexton Inc – Sunnyvale, CA
Flexton Inc Sunnyvale, CA $55 – $60 Contract: W2, Independent, 12 Month(s) Skills Rust GraphQl Graph QL GQL Job Description Greetings! Hope you are doing well. Please let me know if you are available for the below mentioned position or if you can refer any of your contacts. Role- SW Engineer (Rust Developer) Location…
-
How to pass specific key from `$data` into the nested graphql query?
0 There are publications and tags with many-to-many relations. Here’s schema.gql: input GetPublicationsDto { cursor: Int take: Int tagIds: [Int!] tagId: Int … } input GetTagsForDto { tagIds: [Int!] tagId: Int } type Query { publications(data: GetPublicationsDto!): [Publication!]! tagsFor(data: GetTagsForDto!): [Tag!]! } We see that GetPublicationsDto extends GetTagsForDto. Suppose we want to get publications by…
-
How to stream file upload using python gql client for GraphQL
0 I am using python gql client to upload files using GraphQL request as below: https://gql.readthedocs.io/en/latest/usage/file_upload.html I am using asynchronous transport transport = AIOHTTPTransport(url=’YOUR_URL’) async with Client(transport=transport) as client: query = gql(”’ mutation singleUpload($file: Upload!) { singleUpload(file: $file) { id } } ”’) async def file_sender(file_name): async with aiofiles.open(file_name, ‘rb’) as f: chunk = await…