Category "graphql"

Vue-apollo subscriptions not working as expected

I am working on vue-apollo and was able to use mutations and queries, but am facing issue using subscriptions. The apollo-express server with subscriptions is w

How to create a GraphQL typed SDK from a Typescript schema object?

I have a code-first GraphQL API in which the GraphQLSchema is created like so: import { GraphQLSchema } from 'graphql'; import { mutationType } from './mutation

BitQuery wrong data/not real time

Hi I started playing with BitQuery graphql to see if it would help me with querying blockchain data. I love the idea of single API for most of the blockchains.

Gatsby v4 - Joining Author Details Into a Post [closed]

Using Gatsby v4. In my blog posts there is a field author. There is a separate authors file which includes details of the blog post authors -

set session variable for Hasura on Query in apollo client, currently getting error "missing session variable: "x-hasura-a"

I'm currently writing a next.js app. I have got a query in apollo graphql, that I want to attach a variable to, in the header of the request. The variable is ca

Can i extend graphql fragments?

For example, i have the next query for the paragraph: query ParagraphText { field_title field_body field_subtitle field_image field_button } And i us

unable to install express-graphql

I am trying to install express-graphql but getting this error.Please help npm install --save express-graphql npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to

How to load image in Gatsby GraphQL query

I have small SQLite database with products, that have relative paths to images. I'd like to include these images to my page. I'm trying to use this query: query

vue filtering method how it works

Here's the some code i try what I did deleteajobewith_events(event){ const data =event.store.readQuery({ query: ClientJobesList, varia

Using the Uniswap v3 Subgraph or other options, how to find liquidity pools containing a given token symbol?

I am trying to get a list of all pools containing a token symbol with Uniswap v3 for arbitrage opportunities. For example, if I want to find all pools containi

Using the Uniswap v3 Subgraph or other options, how to find liquidity pools containing a given token symbol?

I am trying to get a list of all pools containing a token symbol with Uniswap v3 for arbitrage opportunities. For example, if I want to find all pools containi

Graphene throwing input error for Pydantic models with discriminator while generating Input object schema

I am using pydantic validations for my requirements and it uses discriminator. I am writing GraphQL APIs and want to convert those pydantic models into graphene

Python - pagination "after" parameter doesnt work in query

Im making a code to get data from pipefy API and the pagination isn't working out for me headers = { "authorization": 'Bearer TOKEN', "content-type": "a

GraphQL Request in Pytho

I don't know how to solve this problem i'm trying a long time now but i'm stuck. I've tried different Libarys for GraphQL requests but nothing is working so tha

get Forbidden resource even when the requested user is admin

Middleware is used to protect the resolver. The middleware checks the role of user and despite the right role of the requested user I cannot access listUser que

GraphQL Subscriptions not working on Firefox - Error 400 bad Request

I have a Frontend app that is built in React and it is connected to a GraphQL backend using Apollo Client. Queries and Mutations are working fine in all browser

AWS Amplify @auth rule require multiple group membership

Is it possible to have auth rules requiring authenticated users to belong to multiple groups? For example "allow users who are in 'Tenant N' AND who are 'Edito

Export / finding GraphQL Schema with Strapi and GraphQL plugin

I’m new to Strapi and to GraphQL. I successfully created a website that uses Apollo to query data from my Strapi website. So functionally I have everythin

Ensure that there is only one instance of "graphql" in the node_modules directory

While trying to download the schema using npm run schema:download I am receiving the following error. [email protected] schema:download npx apollo service:download

GraphQL: POST body missing, invalid Content-Type, or JSON object has no keys

I am trying to create a mutation but I keep getting a POST body is missing. I can log the data before urql and codegen hooks are called and I can see the data i