20,866 questions
-2
votes
0
answers
46
views
Append to a plain array when fetching new data
I want to implement a file browser, in React and Relay, that's feed by a GraphQL API. Two usage scenarios need to be supported:
The root directory gets returned and then then the user expands ...
0
votes
1
answer
91
views
Springboot v4 GraphQL not making use of custom JsonMapper
I have been working on upgrading SpringBoot microservices from v3.5.7 to v4.0.0. Included in this upgrade is a Jackson upgrade from v2 to v3. The service in question is making a GraphQL request to ...
2
votes
0
answers
97
views
NPE when using Batch-Resolver (@Source List<>) with Openliberty's GraphQL Implementation
Environment:
OpenLiberty(25.0.0.12 -> https://openliberty.io/start/#gradle) with mpGraphQL-2.0 feature
MicroProfile GraphQL API 2.0
Java 21
I'm trying to use batch resolvers in MicroProfile ...
0
votes
1
answer
59
views
How to set product dimensions (length, width, height, weight) using Shopify GraphQL Admin API?
I’m trying to create/update a product in Shopify using the Admin GraphQL API.
My goal is to set product dimensions (length, width, height) and weight for shipping.
I’m using the productSet mutation, ...
Best practices
0
votes
1
replies
44
views
Flutter ferry multiple queries same type?
I'm using Flutter & ferry for the first time, I'm trying to get three lists from a GraphQL API:
popular "manga"
trending "manga"
user's reading "manga"
Via ferry I'...
0
votes
1
answer
35
views
GraphQl Query - Not Equal condition
Trying to figure out the opposite of '=' in this example query from this page:
https://www.ibm.com/docs/en/filenet-p8-platform/5.6.0?topic=development-search-api-considerations
{
documents(
...
-1
votes
0
answers
43
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
49
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
26
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
33
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
192
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
57
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
31
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
201
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 ...