Tag: graphql
-
GraphQL Dataloader on non-id fields?
0 We’re using NodeJS (typescript) and GraphQL for our backend. Therefore we rely heavily on dataloaders, and we get more and more field resolvers that needs to be resolved on something other than IDs. An example is a field resolver on our User object, called "follows_me". In this case we need to make a lookup…
-
Unhandled GraphQL subscription error, when using apollos subscribeToMore method in an angular chat component for subscription
5 Problem Description I have a chat component in angular that gets messages from the backend via a graphql query. On the same query, I subscribe to updates when a new message is added via a graphql mutation. The messages subscription is coded as a method of the chat component so that I can invoke…
-
Unable to resolve signature of property decorator when called as an expression
8 import { isEmail, isEmpty, isPhoneNumber, Length } from "class-validator" import { Field, InputType } from "type-graphql"; @InputType() export class RegisterInput { @Field() @Length(2, 15, { message: "Username Must Be At Least 2 characters" }) username?: string; @Field() @isEmail() email?: string; @Field() @Length(1, 20) @isPhoneNumber() phoneNumber?: string; @isEmpty() password?: string } The thing is @isEmail()…
-
AWS Amplify GraphQL API: Unable to retrieve the first 10 items (with `beginsWith` filter)
0 Here’s my schema: type Post @model { createdAt: AWSDateTime! hash: String! version: Int @default(value: "0") @index(name: "byVersion", sortKeyFields: ["createdAt"]) } Here’s the generated query that AWS Amplify generates: export const postsByVersionAndCreatedAt = /* GraphQL */ ` query postsByVersionAndCreatedAt( $version: Int! $createdAt: ModelStringKeyConditionInput $sortDirection: ModelSortDirection $filter: ModelPiecePostFilterInput $limit: Int $nextToken: String ) { postsByVersionAndCreatedAt( version:…
-
Lead GraphQL Developer – ADDSOURCE – Remote
ADDSOURCE Remote Skills API Best Practices Javascript User Interface Business Requirements ReactJS Node.js Translate graphql B2B Software Job Description Role Lead GraphQL Developer Location USA(Remote) Contract: 6+ Months **Responsibilities:** 1. Design, implement, and maintain GraphQL APIs for telecommunication customer-facing solutions. 2. Collaborate with cross-functional teams to understand business requirements and translate them into GraphQL schemas…
-
ApolloClient is not a constructor (apollo-client with nodejs)
9 I don’t have any UI framework. Just a simple Nodejs script where I need to query a GraphQL. Codes: const ApolloClient = require(‘apollo-client’) const client = new ApolloClient() Error message: TypeError: ApolloClient is not a constructor Package.json: { … “dependencies”: { “apollo-client”: “^2.4.13”, “graphql”: “^14.1.1”, “graphql-tag”: “^2.10.1” }, } Node: v8.9.4 I googled a…
-
JavaFullstack Developer – React, Java, GraphQL – SVK Technology Solutions – Remote
SVK Technology Solutions Remote Depends on Experience Contract: W2, Independent, 24 Month(s) Skills React Java GraphQL Job Description Role : Java Fullstack Developer – React, Java, GraphQL Remote Long Term Tasks on hand:Build and deploy eCommerce solution for a retail enterpriseTroubleshoot exisiting code issues including bugs and performance issue coming from React frontend or backend including…
-
Shopify Image Uploads failing using GraphQL API
0 I’m rewriting a script to upload large batches of images to Shopify using the GraphQL API. I keep running into two issues, the first is images that upload successfully do not process properly. The second issue is I hit the rate limit and the script breaks out of the loop despite having exponential rate…
-
Java Enterprise Architect – Cognizioni LLC – Louisville, KY
Cognizioni LLC Louisville, KY Depends on Experience Contract: W2, Independent, 12 Month(s) 10% Travel Skills Java React NodeJS/NextJS MERN SQL GraphQL ecommerce Healthcare Job Description Role: Java Architect Must be from: eCommerce/Shopify experience, Onsite travel If needed (Louisville, KY) Skills Must have: Java, React, NodeJS/NextJS, React, MERN, SQL, GraphQL Must have prior experience in Healthcare…