Eslint cannot read config file

I am setting up my first eslint. For some reason in other computers it works except on mine .. Im using VScode As soon as I open my editor I get the following message: Cannot read config...

EF Core with GraphQL

I'm currently exploring the GraphQL development and I'm currently exploring what kind of SQL queries are Generated via EF Core and I observed that no matter that my GraphQL query includes only a...

Nestjs Apollo graphql upload scalar

I'm using nestjs graphql framework and I want to use apollo scalar upload I have been able to use the scalar in another project that did not include nestjs. schema.graphql App.module.ts register...

How can i consume a graphql api with ASP .NET Framework 4.6

I have a app in ASP .NET Framework 4.6 I want to consume a graphql in the best way, adding some library or something method. in effect to have another alternative, like doing a POST request is...

An unhandled exception of type 'System.AggregateException' occurred in Microsoft.Extensions.DependencyInjection.dll:

I migrated a asp.net core project from version 2.2 to 3.1. I have added all the dependencies and docker related components. It is compiling fine but on running the project I am getting the below...

How to effectively map all the properties of DTO class to the FiledType class using GraphQL.NET?

I am using GraphQL.NET with asp.net core 3.1 to develop graphql based apis. I have the following code: ContactDTO.cs public class ContactDTO { public int ContactId { get; set; } ...

GraphQL Code Generator - Cannot load my GQL Schema from Nestjs server endpoint

I'm using graphQL code generator on an angular app and I'm trying to load my schema from a local nestjs app. Here is the codegen.yml file: schema: http://localhost:3000/graphql documents:...

how to implement user guards in nestjs graphql

I'm trying to get the current user but in the resolver i get undefined , in th jwt strategy i get the user ibject using the tokne but in the resolver the user is undefined auth guard import {...

Input Object type XXX must define one or more fields in prisma 2.0

I have the following schema.prisma file: model Account { id Int @default(autoincrement()) @id name String transactions Transaction[] } model Transaction { id Int @default(autoincrement())...

Can't get {data.allFile.edges.map(({ node }) to render multiple images with Gatsby + GraphQL

Description I am trying to use {data.allFile.edges.map(({ node }) to render multiple (local) images to a page, but I can't run gatsby develop successfully. Steps to reproduce My code is as...

Error method: runtime error: invalid memory address or nil pointer dereference)

I'm working on a nest.js microservices project. The controllers and services are defined and the back-end runs without errors. I'm trying to create a resource(subscriptionPlan in this example)...

How can I implement batching in FSharp.Data.GraphQL?

I am building a GraphQL server using F# with .NET Core. To implement batching and address N+1 select, I am building a data loader. The Facebook's dataloader uses Node.js event loop tick to collect...

java.lang.NoSuchFieldError: graphql/schema/idl/ScalarInfo.STANDARD_SCALAR_DEFINITIONS

My application is not started because of the below issue. Please help me on this. My build.gradle file : apply plugin: 'java-library' apply plugin: 'war' apply plugin: 'eclipse' apply...

How to load runtime configuration and use it in an angular module?

Following the Apollo Angular setup src/app/graphql.module.ts import { NgModule } from '@angular/core'; import { APOLLO_OPTIONS } from 'apollo-angular'; import { ApolloClientOptions, InMemoryCache,...

Can't upgrade React-Native project due dependencies

I am trying to update my RN project from 0.62.2 to the latest one (currently 0.63.3). I am just running npm update and get errors: npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR!...

Duplicate modules in package-lock.json when using npm?

I have noticed on node 15 and npm 7, when I switch from node 14 - duplicate entries for the same package. One is apollo-server-core which is fine. And the other is node_modules/apollo-server-core...

Dotnet using graphQL client, Data response not mapped

I'm using the last GraphQL client NuGet package (3.2.1) on .NET Core 3.1 project and calling a GraphQL API. When I do the "SendQueryAsync()" or "SendMutationAsync()" the response status code is OK...

Saleor dashboard CORS error during login (CORS blocked)

I am new to saleor.io which is an open-source platform for an e-commerce app. This saleor has three modules: Saleor core (Django project, communicate with saleor store and saleor dashboard via...

Apollo client / React native error using localhost

I have a react native app that works with Apollo client(grapqhl), the problem is that I have a production API and Apollo client works without any problem but if I change the uri in apollo...

GraphQLResolver throws "Value already present: Pojo.class"

This is the relevant bit in my GraphQL Schema: type pojo { details: detailspojo, name: String, method: String, ext_Path: String, int_Path: String, mle: String } type...

Vue CLI / Typescript based project no longer builds or runs Mocha tests

I have Vue 2 project scaffolded from Vue CLi that is throwing dozens of errors. It complies fine for developing but running unit tests or building for production it all goes wrong. Below is a...

How can I Unit Test GraphQL file Upload with API Platform?

In addition to my other tests against my GraphQL API Platform backend, I am attempting to test file uploads. I'm not quite sure whether the ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Client...

Brand New Macbook Pro Having Trouble Running Gatsby Theme Apollo Docs

I can't seem to get this project running on my new Macbook Pro: https://github.com/apollographql/gatsby-theme-apollo/tree/main/packages/gatsby-theme-apollo-docs This is the command to run: npm...

Why does Apollo Client download:schema fail with "Error: Cannot find module 'graphql/validation/rules/UniqueTypeNames'"

I am trying to download a graphql schema with the command apollo client:download-schema --endpoint=https://my-endpoint --header='x-hasura-admin-key: <my key>' I get an error: Error: Cannot...

Flutter (graphql_flutter + gql): Found this candidate, but the arguments don't match

When trying to build app (iOS), getting the following output: Removing references to graphql_flutter within the app gets rid of these errors. I've tried every single channel for Flutter and issue...

NestJS and Apollo Federation: buildFederatedSchema is deprecated

I am working with NestJS and Apollo Federation for a while and it seems that since last update I get "(node:19113) DeprecationWarning: 'buildFederatedSchema' is deprecated. Use...

Global Exception Handling using Middleware not working in ASP.Net Core app

I had been trying to set up Global Exception Handling using custom Middleware in my ASP.Net Core web API. I need to log them to a log file using Serilog. I tried a lot, but I'm not able to get it...

How to deploy NestJS services with graphql, serverless lambda in the Localstack?

Solution I found the solution, thanks for your time. StackOverflow doesn't let me answer me. >:( Description I would like to know what kind of configuration I need to perform to deploy a...

using validation pipe in nestjs gives me an classTransformer.plainToclass is not a function error

i am using nestjs/graphql, and i made a dto for a graphql mutation where i used class-validator options like @IsString() and @IsBoolean(). for this i installed class-validator and...

Flask GraphQL import fails

I have the package versions ... Flask 2.0.2 Flask-GraphQL 2.0.0 Flask-Script 2.0.6 ... graphene 3.0 graphql-core 3.1.6 graphql-relay ...