20,870 questions
-1
votes
0
answers
20
views
GraphQL Mutation returns success but it does not update database (Integration of Apollo and Node.js)
I am using Apollo Server with Node.js, The mutation returns a success response but it is not updating database.
Mutation:
type Mutation {
updateUserName(id: ID!, name: String!): Boolean!
}
Resolver:...
-1
votes
0
answers
30
views
List projects that have at least one branch
In my app I am listing projects with GitHub GraphQL.
I process their branches so I want to ignore projects which don't have any branch. I am not sure how to do that.
Currently I have the following ...
1
vote
1
answer
36
views
Langchain4j and Quarkus AI Services - Not using annotated @Tool to call remote GraphQL API
I have a question about Quarkus Langchain4j.
I have made this Quarkus (Java 25) project with the purpose of exposing an API that receives a search text, processes it with an "extractor” AI ...
Tooling
0
votes
0
replies
24
views
Easy mappings for GraphQL requests without using the GraphQL Client
I am trying to send requests to an API that uses GraphQL for its data filtering. The problem I am having that I need to build each request manually through a string interpolation which is easier said ...
0
votes
1
answer
31
views
AWS Amplify Long type to Int64 with Swift and GraphQL
I have issue where I cannot map Long type in Swift.
E.g. schema.graphql
scalar Long
input TableLongFilterInput {
between: [Long]
contains: Long
eq: Long
ge: Long
gt: Long
le: Long
lt: ...
0
votes
0
answers
25
views
How do I get nested Hot Chocolate graphql data loaders to batch properly?
I have a graphQL query that looks like this:
query {
vehiclesByIds(ids: 1,2,3,4,5...) {
id
options {
optionId
name
adCopy {
copyType
copyText
}
}
...
0
votes
2
answers
179
views
Shopify integration with Delphi
I am trying to use the Shopify GraphQL Admin API from Delphi. Came up with the following code:
procedure TestShopify;
var
Client: TRESTClient;
Request: TRESTRequest;
Response: TRESTResponse;
...
1
vote
0
answers
46
views
How to add Authorization: Bearer <token> header to Strawberry Shake client after login in Blazor Server?
I'm using Blazor Server with Strawberry Shake 15.1.10.0 to consume a GraphQL API.
Here's the flow:
User logs in via a regular API call (SignInAsync(username, password))
The API returns a JWT token (...
0
votes
0
answers
27
views
Client of Amplify Gen 2 is not being properly generated for subscription
Logging const client = generateClient<Schema>(); results in the following, which shows that the client is improperly generated:
{
"models": {},
"enums": {},
"...
3
votes
2
answers
191
views
How to Fetch all children, for all parents in single API call?
If a am querying for several parent objects and each of those parents has several child objects like so:
type ParentTest {
id: Int
name: String
children: [ChildTest]
childIds: [Int]
}
type ...
0
votes
1
answer
46
views
Rails 7 / GraphQL-Ruby: ActionCable subscription always 403 Forbidden when connecting with JWT
Problem Description
I'm trying to set up GraphQL subscriptions in a Rails 7 backend using ActionCable. The subscription works from the Rails console — I can broadcast events and they are received. ...
0
votes
1
answer
45
views
Unknown type FieldUnion for field fields. Did you forget to add the @model directive. Grapghql
getting below error during amplify publish .
Unknown type FieldUnion for field fields. Did you forget to add the @model directive
the code:
FieldUnion = KeyValueField | AnotherFieldType
type MyObject ...
0
votes
0
answers
63
views
How do I define a bridge table/many-to-many relationship in my schema for use in a Spring JPA BE?
I'm working on a personal project to get better understanding of BE/architecture/how everything ties together, but I'm having trouble finding examples that show the full picture. Right now, I'm ...
0
votes
1
answer
61
views
My graphQL query is returning same values of 'Yoast SEO fields' for all my posts in wordpress graphQL IDE?
I am using WPGraphQL(v2.3.8), Add WPGraphQL SEO(v5.0.0) and WP Gatsby(v2.3.3) plugins in wordpress.
graphQL query-
{
posts {
nodes {
id
title
seo {
title # yoast seo ...
1
vote
0
answers
82
views
Convert String to Date for Graphql in spring boot 3.5
I am migrating a Spring Boot application from version 2.6.6 to 3.5.0, and upgrading the JDK from 17 to 21.
Previously, I was using the graphql-kickstart dependency, but I have replaced it with the ...