21,131
questions
0
votes
0
answers
7
views
GraphQL returns null data, even tho data is correctly returned
everyone.
I am trying to learn GraphQL. I am using NestJs with CSQR modules and GraphQl.
So I have a Query that returns a list of users including data for pagination, however the data is correctly ...
0
votes
0
answers
12
views
Retrieve and provide JWT Token for GraphQL in Appsmith
I need to perform the following actions: add Google login. After the user logs in through Google, obtain the accessToken and pass this token to another endpoint, which will return a JWT token for ...
1
vote
1
answer
28
views
Cypress E2E Mock GraphQL Subscription as Query
Is there a way to mock a subscription from GraphQL? I only need to return some data once. So pretty much instead of a subscription have a GET query.
I did have a look into the Cypress-Documentation ...
0
votes
0
answers
19
views
AppSync Query Fails with Enum
I'm new to AppSync and GraphQL but I got the following schema automatically generated based on the SQL tables.Then I tried to use the query editor to send a query to insert some data into the database ...
-1
votes
0
answers
9
views
CannotDetermineGraphQLTypeError when using enum and TypeGraphql
Hello to whoever sees this post. I'm currently building an app using typeorm, graphql and TypeGraphql and i'm trying to use an enum for one of my entity field. I've been following the steps displayed ...
0
votes
0
answers
10
views
Strapi fields are not fetched by GraphQL / Gatsby
The fields that are available in Strapi don't appear in GraphQL schema (GraphiQL playground)
I tried everything:
all permissions are given in the Roles;
deep population works, gatsby-source-strapi ...
0
votes
0
answers
6
views
Can a child data fetcher be avoided if a return type from a parent data fetcher is different?
I am looking for a piece of advice regarding my GQL schema and Data Fetchers which were registered in Spring application with annotations.
I have two data fetchers for a favoritePet field and for an ...
1
vote
0
answers
29
views
Best Practices for Integrating GraphQL in Flutter? [closed]
I’m transitioning from REST API to GraphQL for my project, and I’m unsure about the best practices to follow with GraphQL. In my previous REST API implementation, I used Clean Architecture with BLoC ...
0
votes
1
answer
12
views
Can you create a new Weaviate collection with Postman / Curl?
I want to have a Postman route to create a new collection on Weaviate cloud. It could be either REST or graphQL, don't really care.
with graph I can do a GET like this:
{
Get {
Items {
...
1
vote
0
answers
19
views
How to get transaction type?
I can get transaction type from Java SDK but not able to get Transaction type from GraphQL. Can anyone please suggest, how can i get Transaction type with GraphQL API.
GraphQL Query (Throwing error ...
0
votes
0
answers
19
views
How can i return type when there's 2 different possibilities?
I have a problem while doing testing in SIT forward,
this forward is using old version of frontend and new version backend.
The structure of schema type is changing like this:
old backend:
type ...
0
votes
0
answers
18
views
Navigating a particular column and parsing out text in attached text in Monday.com
I'm trying to use the API playground in Monday.com to parse out information from a database we have there. There is a field/column called Contacts (with id of 'monday_doc0' which has associated text ...
-1
votes
2
answers
52
views
How to pass a variable in a string block?
In the following example code, I am trying to use graphql query and I have to pass the value of a string that I get from the command-line argument in the query:
package main
import (
"bytes&...
0
votes
0
answers
10
views
Set multiple mutations in graphql query
I have the following mutation which works:
`#graphql
mutation discountAutomaticAppCreate($automaticAppDiscount: DiscountAutomaticAppInput!) {
discountAutomaticAppCreate(automaticAppDiscount: $...
0
votes
1
answer
10
views
GraphQL Validate Enum with rule in Lighthouse
In Lighthouse I have an Enum like this
<?php
namespace App\Enums;
use GraphQL\Type\Definition\Description;
#[Description(description: 'Size')]
enum Size: string
{
case S = 's';
case M = ...