Tag: graphql
-
Using netflix-dgs with WebFlux
0 This might be a dumb questions, with me being a novice getting starting with the whole reactive programming methodology. Task: But I’m working on developing a Spring Boot Netflix DGS based GraphQL API Implementation: So I am using the standard netflix platform dgs libraries and scalars and all that, and in addition i just…
-
Shopify GraphQL: How to add multiple variants to a product?
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 }…
-
How to change port on Grapql Yoga and BunJS
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 */ `…
-
Procedure to install enterprise version of apollo 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…
-
how to use graphiql when route are secured?
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…
-
GraphQL + BananaCakePop won’t work in a Docker container
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…
-
Using Sangria with Scala 3
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…
-
inventory_policy Parameter Is Ignored In Shopify GraphQL Query
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…
-
GraphQL Authorization Error When Using AWS Lambda Trigger for Post-Confirmation
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…
-
Can we install dedicated version of apollo graphql in our local machine, if yes what is the procedure to do it
-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…