Tag: graphql
-
Custom error status code with gqlgen + go gin
2 Recently I have been updating my GO REST APIs into graphQl API’s and I came across issue where I am unable to customise my status code with gqlgen. Response I got Headers Status Code: 200 OK { data: null, errors: [ {message: "Unauthorized access", path: ["…"]} ] } Expected Header Status Code: 401 UNAUTHORISED…
-
Strapi 4 and NuxtJS: Unable to connect via GraphQL (ECONNREFUSED)
2 I am building a small blog application using NuxtJS, Strapi 4 (and GraphQL) and apollo. To do that, i followed this tutorial: https://www.youtube.com/watch?v=yDkoV-8krcA The problem is for some reason NuxtJS is unable to connect to Strapi. I get the following error message: Network error: request to https://localhost:1337/graphql failed, reason: connect ECONNREFUSED ::1:1337 Strapi is…
-
GraphQL: Nested queries vs root queries
10 I’m using Apollo GraphQL on my server, and I’m trying to design my GraphQL API. One question I have is whether or not I should prefer nested queries over root queries. Let’s examine both in this example where the current user, me, has many invitations. Root queries me { id name } invitations {…
-
Unable to upload a image in Karate Framework using graphQl mutation
0 [[enter image description here](https://i.stack.imgur.com/PY6FQ.png)](htenter image description heretps://i.stack.imgur.com/06hOp.png) Unable to upload an image using graphQl query in Karate framework. ERROR: org.opentest4j.AssertionFailedError: no step-definition method match found for: multipart logo logo = {read: ‘data/hummingbirdbird.jpeg’, filename: ‘hummingbirdbird.jpeg’, contentType: ‘image/jpeg’} classpath:superdeker/createteam/createTeam.feature:15 Can someone help me here pls. graphql karate web-api-testing Share Follow asked 22 mins ago Dhamotharan RDhamotharan…
-
Getting error – localhost is currently unable to handle this request. HTTP ERROR 502 – GraphQL run on Visual Studio 2022 – Hotchocolate
0 I am trying to execute a simple default Graphql app on Visual studio 2022 on .net 6 and 7. When the app is executed from visual studio I get the error "localhost is currently unable to handle this request. HTTP ERROR 502". I’m using HotChololate.aspnetcore (13.5.1) App URL "https://localhost:64264/graphql" Note: I have graphql app…
-
Amplify GraphQL V1 to V2 migration Authorization Issues
0 I have successfully followed this tutorial How to allow guest users to access web applications? (Amplify, AWS AppSync, Cognito & IAM) By installing @aws-amplify/[email protected] which uses [email protected] to implement a V1 API in AWS. Note: The tutorial uses v4.37 the latest is v12.6 This is the schema; type Book @model @auth( rules: [ #…
-
Spring for GraphQL: addressing over- and under- fetching by changing schema structure?
0 I’m using Spring for GraphQL and having trouble understanding how to make my graphql resolvers avoid over- and under- fetching without modifying my schema to reflect how data is grouped in my database. I’ve read about the N+1 problem but I think this is slightly different. Consider the following graphql schema: type Query {…
-
Java Developer(W2 Role) – Cyber Sphere LLC – Remote
Cyber Sphere LLC Remote Depends on Experience Contract: W2, Independent, 12 Month(s) No Travel Required Skills JAVA SPRING KAFKA AWS AIRFLOW GraphQL Job Description Java DeveloperRemoteW2 MUST HAVES – JAVA – SPRING – KAFKA – AWS – AIRFLOW **GraphQL Design, develop, and maintain Java Spring applications, mainly GraphQL queries, mutations, and subscriptions,…
-
iOS Developer (San Francisco, CA or Irving, TX ) – Visionyle Solutions Inc – San Francisco, CA
Visionyle Solutions Inc San Francisco, CA Depends on Experience Contract: W2, 12 Month(s) Skills Swift Amphibian GraphQL API integration Job Description MUST HAVE: iOS 5+ years Swift Amphibian GraphQL API integration https://www.dice.com/job-detail/38eac64b-c20c-4a8d-a025-3910e5b729e8
-
How to check active Shopify stores subscriptions using GraphQL and API?
0 I have a Shopify application that is installed on multiple Shopify stores, and I need to programmatically check which stores have an active subscription plan using the Shopify API and GraphQL. I want to perform the following tasks: Retrieve a list of all the Shopify stores that have installed my application. For each store…