Skip to main content

Questions tagged [graphql]

GraphQL is an API technology designed to describe the complex, nested data dependencies of modern web applications. It is often considered an alternative to SOAP or REST

0 votes
0 answers
7 views

Subscriptions public on postgraphile

Currently I have a project that has a middleware where it checks that each subscription has in the request the jwt: ` if (config.graphileConfig?.subscriptions === true) { // Subscriptions have ...
Josthin Ayon's user avatar
0 votes
0 answers
12 views

Slurp pages with useBackgroundQuery in Apollo Client

A component needs to fetch all data from a paginated GrapQl API. I'd like to use Suspend to suspend the component until all data has been fetched. Here's a query query Get($first: Int!, $after: String)...
Aleksandar Dimitrov's user avatar
0 votes
0 answers
11 views

How to query multiple types in a GraphQL collection?

I have write below query in GraphQL but it returing error query { pageCollection(limit: 10) { items { contentSectionCollection(limit: 5) { items { heading subSectionCollection(limit: ...
Anish Manchappillil's user avatar
0 votes
0 answers
11 views

Finding a specific user's fork of a given repo

I'm trying to use the GitHub GraphQL API to solve the following problem. Suppose there is a repo alice/repo1 and another user bob. I want to find if bob has a fork of alice/repo1, and if so, what the ...
Jordan Barrett's user avatar
0 votes
0 answers
16 views

Graphql or rest in RT chat in a spa running on flask and react?

I have a react app using flask backend. I have changed from rest to grapgql now for user reg, login, auto. Also posting services and for the feed to GET the posts. I am going to implement a one-to-one ...
Jensus's user avatar
  • 11
0 votes
0 answers
10 views

AppSheet with ApiGee data source as a proxy for existing GraphQL endpoint

I already have a GraphQL endpoint. I want to use data from this endpoint (for various queries known only at the stage of creating different AppSheet apps) as a source for different AppSheet apps. Can ...
alexanoid's user avatar
  • 25.3k
1 vote
0 answers
22 views

How to properly perform dynamic filtering using graphql-java?

Assume that using the schema below, both the teams query and the members collection (from the Team type) are bound to data served by different services using BatchLoaders. Also, let's assume that ...
Teoni Valois's user avatar
0 votes
1 answer
33 views

How can I write a HotChocolate middleware that acts after UseFiltering?

I am building a GraphQL interface in an existing dotnet webapi using HotChocolate v13. I want to write a middleware in a field that has UseFiltering(), which as far as I know is a middleware as well. ...
Alberto Cruz's user avatar
1 vote
0 answers
18 views

Error 400 [no body] when trying to send a GraphQL Request with HttpSyncGraphQlClient in Spring Boot 3.3.1

I have a Java 21 Spring Boot 3.3.1 using MVC application. I used to send GraphQL requests with RestClient and just built the GraphQL body manually. Since I am using MVC, I could not use the ...
Ebad's user avatar
  • 283
0 votes
0 answers
9 views

res.setHeader is not a function occurs when logging in to nestjs+graphql+Google

I am testing Google social login with nestjs and graphql. However, an error res.setHeader is not a function appears. This is the auth.module.ts file. import { Module } from '@nestjs/common'; import {...
반가우면반갑다고해's user avatar
0 votes
0 answers
14 views

Next js- GraphQl Request is working in getStaticProps on component level but in component itself it's throwing CORS error on localhost [closed]

GraphQl Request is working in getStaticProps on component level but in component itself it's throwing CORS error on localhost. It is the same request, only in different place. I know that ...
Alicja Miotk's user avatar
0 votes
0 answers
19 views

How to return an error from AppSync lambda resolver?

I am trying to return an error that my (apollo) client can parse, but i am not able to pass even a message from my server (lambda). I tried to throw a new Error(), i tried to use callback("my ...
Ludovic Vue's user avatar
0 votes
0 answers
21 views

SuiteCrm 8.6 Angular list rerender based on custom filters button [closed]

I am creating custom filters button and passing payload in suiteCrm 8.6 Angular component to rerender recordn list in accounts and leads, more ..... I have successfully cloned the payload and passed ...
Tirth bhavsar's user avatar
-1 votes
0 answers
22 views

How to use measure defined in a table, as a filter to get data through python script using graphql?

I have a task in power bi in which I want to use the selected value of a measure defined in one of the table, and pass that on a python script,to be used in the graphql to get data through the script. ...
vishesh kushwaha's user avatar
0 votes
1 answer
28 views

Get hierarchy context in a Strawberry custom field resolver

TL;DR I need to access information from the "parent" of an object who's field I'm calculating in a custom resolver, but that information does not seem to be available during the resolver's ...
Nimrod Dolev's user avatar

15 30 50 per page
1
2 3 4 5
1409