Tag: typescript
-
How to check to which service is being queried by Apollo Gateway
0 I have two services in my Apollo Gateway configuration. I can only connect to one of them with a VPN. I would like to check this using the X-Forwarded-For header. public makeGateway = (): ApolloGateway => { const gateway = new ApolloGateway({ debug: this.config.DEBUG, supergraphSdl: new IntrospectAndCompose({ subgraphs: this.config.services, }), buildService: this.buildService, serviceHealthCheck: true, […]
-
AppSync Enhanced Filtering resolver
0 My schema: type Mutation { createOrder(order: OrderDTO!): Order! } type Subscription { onNewOrder(minimumPrice: Float): Order @aws_subscribe(mutations: ["createOrder"]) } My Lambda resolver for createOrder mutation: exports.handler = async function (event: OrderEvent): Promise<OrderWithPrice> { const order = await orderRepository.createOrder(event); … return { …order, totalPrice: await calculateTotalPrice(order) } }; The user should pass minimumPrice parameter on subscription […]
-
Graphql codegen is always type unknown
1 I’m working in a SvelteKit project and want to use gql codegen, but all queries are typed as unknown. Ts file: import { graphql } from ‘$lib/gql/index.js’; export const getPostById = graphql(` query GET_ARTICLE($id: bigint!) { articles_by_pk(id: $id) { content created_at slug updated_at title } } `); codegen.ts import type { CodegenConfig } from […]
-
Impossible to use @graphql-codegen/cli correctly, Error: Cannot find module ‘stream/web’
0 I have some problems using graphql-codegen. Here’s the best description I can give, hope it helps with the resolution. My work environment: Windows 10 Non-admin user NodeJS 16.0.0 NPM 7.24.2 Typescript 5.2.2 Apollo server express 3.12.1 GraphQL 15.8.0 The error is obtained when (according to the documentation) I init with this command: npx graphql-code-generator […]
-
Software Engineer – Reveille Technologies – Remote
Reveille Technologies Remote Depends on Experience Contract: W2, 6 Month(s) Skills Mainframe GraphQL react Typescript Job Description Hi, We have an Urgent opening for the Senior Informatica/Mainframe Software Engineer – Remote Job Title : Senior Informatica/Mainframe Software Engineer Job Location : Remote Mode of hiring : Contract (W2) Job Description: […]
-
type-graphql doesn’t work when passing argument
0 I’m developing an API using apollo-server and type-graphql, but when I try to send an Input througth a Query or a Mutation arguments I don’t know what is happenning but I cannot get the data UserResolver.ts import { Arg, Query, Resolver } from ‘type-graphql’ import { UserModel } from ‘../dtos/models/UserModel’ import { CreateUserInput } […]
-
Typescript and Graphql Fragments
0 I use codegen to generate TS types and I use Apollo client to send queries to server. when I generate code for the following example, Typescript dosen’t know that people has firstName and lastName fields, It only knows that avatar field exists. If I remove fragment and move fields directly to query all fields […]
-
AWS Developer (GraphQL, Node JS and Typescript) – Remote – Talent Hires – Remote
Talent Hires Remote $50 – $60 Accepts corp to corp applications, Contract: Independent, W2, 2 Year(s) Skills AWS AppSync GraphQL JSON Jmeter S3 Terraform Typescript Unit testing AWS Serverless aws lambda Job Description Hi, Urgent need for AWS Developer (GraphQL, Node JS and Typescript) AWS Developer: • Technical skills – Node JS16.x, Typescript, GraphQL, ECS […]
-
React Developer – Synkriom – Columbus, OH
Synkriom Columbus, OH $60 – $70 Contract: W2, Independent, 12 Month(s) 100% Travel Skills React Agile JavaScript HTML CSS TypeScript GraphQL Job Description As a Developer drive the technical team in an Agile development process. Has strong understanding of the overall software delivery lifecycle and activities. Code, design, and testing in a heterogeneous technology environment […]
-
Full Stack Developer (GraphQL)- Charlotte, NC/Detroit, MI – Digital Technology Solutions – Charlotte, NC
Digital Technology Solutions Charlotte, NC DOE Contract: W2, Independent, 12 Month(s) No Travel Required Skills JavaScript GraphQL TypeScript Node . js AWS AWS serverless Job Description DTS is looking for Full Stack Developer for our direct client Position in Charlotte, NC Job Description Seeking an innovative and passionate Software Engineer to build key capabilities […]