0 I’m implementing a Graphql resolver for complex datatype. I try to use a data loader to avoid N+1 problem. I have a datatype with a counter. Therefore, in one graphql query I need to perform user counting multiple times for defferent types. Currently, I’m trying to combine multiple COUNT(*) queries within one SQL query. […]
0 This is my query(This is working query but static because i already put the cursor id/value to the after:"") but when i put the $cursor my pagination is not working. I need to get the next product list on the same page that’s why i use AJAX but i dont know why it’s not […]
0 To start I have a custom Shopify frontend that is currently utilizing the admin API to load products. I’m using a apollo/graphql backend too communicate with Shopify Admin API. I’m using shopify-api-node to facilitate the admin API queries. I recently figured out that shopify-api-node package does not support communication with the storefront API. The […]
0 I am developing an app for Shopify and I am new to remix. I have used shopify-app-remix. I want to create a draft order after the app is installed. I don’t know how to make an API call after the app is authenticated. I found afterAuth in the shopify.server.js file. I have tried to […]
0 Please I need some help. I am running an Interceptor to detect if the access token is expired or not. So If expired I am trying to refresh Token otherwise I send the request. My issue that it is running the refresh token request with the token on the header and the other requests […]
1 I’m using EntityGraphQL with an asp.netcore app that uses Entity Framework This query works { sites(filter: "id==1") { id name isActive } } But this one fails with: "Field true not found on type Site" { sites(filter: "isActive==true") { id name isActive } } The documentation says I should be able to do that, […]
0 I’m building a React application with TypeScript where I fetch data from a GraphQL server. I’ve been trying to implement pagination for my data, but I’m facing some challenges in ensuring that the data is fetched efficiently and the user experience remains smooth. Current Approach: I’m using Apollo Client for fetching data. Here’s a […]
0 I use NestJS with Graphql, and want to genrate type file with the schema. generate type code import { GraphQLDefinitionsFactory } from ‘@nestjs/graphql’; import { join } from ‘path’; const definitionsFactory = new GraphQLDefinitionsFactory(); definitionsFactory.generate({ typePaths: [‘./src/**/*.graphql’], path: join(process.cwd(), ‘src/**/*.ts’), outputAs: ‘class’, watch: true, emitTypenameField: true, }); above code generate graphql.ts, but i want […]
0 Is it possible to use Function Middlewares and Hot Chocolate Middlewares to be used together when using Azure Functions in an isolated-process? For example: Consider Authentication middleware that is defined at a Function level via IFunctionWorkerMiddleware. When the function is triggered, the Authentication Middleware is triggered and if authentication succeeds, then passes the control […]