Tag: graphql
-
How to access request in prisma middleware
0 I am using typegraphql-prisma and all the resolver are autogenerated. I need to automatically set the createdBy and updatedBy fields in Prisma models based on the authenticated user’s ID, which retrieve from a Firebase token in Express middleware. //auth.middleware.ts import { Response, NextFunction } from "express"; import * as admin from "firebase-admin"; import {…
-
Does it make sence to use data loader for multiple counts?
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.…
-
Why i can get the next product list when i click the next button, i am using the pagination of graphql in shopify with laravel app
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…
-
Account creation form for Shopify API
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…
-
Create a draft order via rest API or graphql in shopify
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…
-
GraphQL Refresh Token in Kotlin
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…
-
Sr. iOS Engineer / Direct Client- Immedite Interview / Sunnyvale, CA(100% remote) – Tranzeal, Inc. – Remote
Tranzeal, Inc. Remote $70 – $90 Contract: W2, Independent Skills iOS swift GraphQL Job Description Greetings of the DayThis is Raju with Tranzeal, we have a job opening for a “ iOS Developer” role with one of our direct Client for a Sunnyvale, CA(100%Remote)Minimum Skills required: Experience with mobile software development using Swift & Objective-C. Experience using distributed source code…
-
Field true not found on type Site
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,…
-
How to efficiently paginate data in a React application using GraphQL and TypeScript?
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…
-
Sr. Software engineer- Golang – Analytic Era – Mc Lean, VA
Analytic Era Mc Lean, VA Full Time, Part Time, Accepts corp to corp applications, Contract: W2, Independent Skills KUBERNETES DEBUG GRAPHQL DOCKER SOFTWARE ENGINEER MONGODB Job Description Job Title: Sr. Software engineer – Golang Location: Mc Lean, VA Duration: 12 months+ All visas are accepted. Duties: Build new services to meet critical product and business…