Tag: graphql
-
GraphQL Mutation Query Not working in Apollo Server
0 helpppp, I am making a movie website using Tmdb api built with Nestjs and Graphql as the backend, I wanted to make a patch request that users can upload their ratings for each of the movies, here is the link to the docs for more details: https://developer.themoviedb.org/reference/movie-add-rating, I am using schema first approach with…
-
Hotchocolate Graphql with Angular Apollo Code Gen
0 I’m trying to test out the apollo graphql codegen for angular. as such I created a net 5 server that hosts Grapqhl endpoint at https://localhost:8081/api/graphql/. It loads fine and no worries. I’ve then created a dummy angular project with apollo graphql in it and installed the code gen as per these two guides: https://www.graphql-code-generator.com/docs/getting-started/installation…
-
Spark/Python Developer – Hexaware Technologies, Inc – Mc Lean, VA
Hexaware Technologies, Inc Mc Lean, VA Depends on Experience Full Time Skills AWS Python Spark Rest AMQ GraphQL. Mongo Job Description I am from Hexaware Technologies Inc () part of Carlyle Group (). Hexaware is a $1.2B company with about 25K employees worldwide. The position is a direct hire for Hexaware. As discussed, sharing you…
-
JAVA full stack Developers – Federal Soft Systems Inc. – Remote
Federal Soft Systems Inc. Remote Depends on Experience Full Time Skills GraphQL Job Description Required Skills are: GraphQL, Angular, NodeJS, NextJS Typescript hands-on experience is required Retail EXP Responsibilities: Lead and mentor a team of full stack Developers in designing and building robust and scalable web applications, providing technical guidance and support. Collaborate with…
-
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…
-
Graphiql not working due of security – Spring for GraphQL
0 I’m trying to use graphiql UI but due of Spring Security, I receive 401. What’s the way to keep /graphql endpoint secured but let /graphiql request to graphql endpoint? I’m on Spring Boot 3.1.4 and Spring For Graphql 1.2.3 If I permitall /graphql it works but I loss security. I Tried also to put…
-
Query with array in graphql
0 I want to return all items that are not in my arrays. Some think like below but in graphql-aws world: query( collection(db, "users"), where("id", "not-in", […likedUserIds, …dislikedUserIds]) ) I tried: const { data } = await API.graphql( graphqlOperation(getUsers, { filter: { id: { ne: […likedUserIds, …dislikedUserIds]} }, }) ); But this says "Variable ‘ne’…
-
GraphQL skip after index
0 I’m trying to query and return a sorted list (ABC-sort on title) where all items above a specified limit, say 10, include all columns. For everything after that index, include only metadata like id and title. Is this possible in a single GQL query or do I need one query for full data and…
-
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…
-
Is it bad to add your postgres connection directly in your graphql resolver?
0 If I wanted to use the lower level Postgres package from NPM called pg inside my Apollo server so I don’t have to use an ORM. Is it considered bad practice to pass the connection into the resolver directly? Example: // ./db/index.ts import { Pool } from ‘pg’ const pool = new Pool({ user:…