1 I’m following the GraphQL documentation for `productCreate but I can’t figure out how to add multiple variants when creating a product. I’m using the following mutation: mutation productCreate($input: ProductInput!) { productCreate(input: $input) { userErrors { field message } shop { id } product { title handle variants { edges { node { title } […]
0 I have a very simple question that I can’t find the answer to anywhere on the internet. I’m using the Graphql Yoga framework together with the bun runtime. On their website there is the following example: import { createSchema, createYoga } from ‘graphql-yoga’ const yoga = createYoga({ schema: createSchema({ typeDefs: /* GraphQL */ ` […]
-2 I want to know what is the procedure to install enterprise of apollo graphql into the project after buying it. I found these instructions after searching in bingAI chat After purchasing the Enterprise version of Apollo GraphQL, you can follow these steps to install it in your project: Visit the Apollo GraphQL website and […]
6 In C++23, the [[assume(expression)]] attribute makes it so that if expression is false, the behavior is undefined. For example: int div(int x, int y) { [[assume(y == 1)]]; return x / y; } This compiles to the same code as if y was always 1. div(int, int): mov eax, edi ret However, what happens […]
4 i have an application based on api-platform with secured route using JWT (and the LexikJWTBundle). With the Swagger interface it’s easy to call secured route providing a valid bearer. But with GraphiQL i don’t see anything about security so when a call a secured route it fails. Any idea ? or shall we prevent […]
0 I’m creating a proof of concept with a GraphQL ASP.NET API and Hot Chocolate / BananaCakePop for web-based querying by local developers. It is just the most basic API at present with a single query point. I have the app running fine locally in VS but am having problems when I try to Dockerize […]
1 Are there any examples of using Sangria with a Scala 3 program, or is that a non-starter? Using cross-compilation in SBT builds OK, but getting a NoSuchMethodError exception in Executor.execute when I send a query. build.sbt looks like this: val AkkaVersion = "2.6.21" val SangriaAkkaHttpVersion = "0.0.4" crossScalaVersions := Seq("2.13.5", "3.3.0") ThisBuild / scalaVersion […]
0 I am running a query to Shopify’s GraphQL, looking for all variants that have 0 or less in stock and have CONTINUE as its inventory policy. { productVariants( first: 100 query: "inventory_policy:CONTINUE AND inventory_quantity:<=0" ) { nodes { inventoryPolicy product { title } title } } } The query is tested and works in […]
0 I am encountering an authorization error when trying to execute a GraphQL mutation (createPlayer) in an AWS Lambda function that is triggered after user confirmation. The error message I’m receiving is: **PostConfirmation failed with error GraphQL error: Not Authorized to access createPlayer on type Mutattion ** Lambda Function (Node.js): const appsync = require("aws-appsync"); const […]
-1 I am working in a client project and we are planing to buy dedicated version of apollo graphql. Can we install dedicated version of apollo graphql in our local machine, if yes what is the procedure to do it https://www.apollographql.com/pricing/ I Searched for in internet but couldn’t find any website expalaining it, please help […]