20,789 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
1
replies
44
views
How can I prevent N+1 query issues in GraphQL while preserving field-level authorization?
I am building a GraphQL API where organizations contain many users, and users have nested relationships such as roles, permissions, phone numbers, and email addresses.
A common issue I am encountering ...
- reputation score 1
Score of -1
0 answers
56 views
GraphQL Nested Variables
I have the following structure
query GetOrganizationWithPersonData($orgNumbers: core_OrgNumbersArgs){
core{
organizations(orgNumbers: $orgNumbers){
personRoles{
...
Score of -1
0 answers
113 views
Apollo Server TypeScript How can I map snake_case database fields to camelCase GraphQL fields?
I'm using Apollo Server with TypeScript and GraphQL Code Generator.
My GraphQL schema uses camelCase field names:
type User {
id: ID!
createdAt: String!
}
The data returned from my database uses ...
- reputation score 35
Score of 0
0 answers
61 views
How to create Shopify Functions for Custom Manual Discounts
I am trying to create Shopify functions to create custom Discounts. I know I can use other apps such as AIOD, but the manual discounts created in them dont work on default checkout page of Shopify and ...
- reputation score 13
Score of 4
2 answers
240 views
Unspecific error for Firebase Data Connect nested SQL inserts with _execute
I need to insert data in multiple tables at once in my Firebase Data Connect db with native SQL. When calling the mutation from my cloud function it fails and Data Connect will always throw the same ...
- reputation score 35
Best practices
0
votes
0
replies
52
views
How can i use passportJS strategy with ApolloServer
I'm using the PassportJS GitHub strategy and ApolloServer. I'm opening a separate '4001' port for PassportJS and another '4000' port for GraphQL endpoints. My question is: How can I use PassportJS ...
- reputation score 1
Score of 0
0 answers
31 views
Upwork public GraphQL: timeReport returns 403 team-action denial, workDiaryCompany returns empty, but internal agencyCompanyTimeReport returns data
I’m trying to get agency weekly timesheet data from Upwork via OAuth2 (official/public API).
I can successfully authorize as a user who has access in UI, and I can switch org context using tenant ...
- reputation score 1
Advice
1
vote
0
replies
59
views
how to fetch public projects for a particular user or list of users using GraphQL
So my goal is to build a map showcasing users contributions to the FOSS projects and I am trying to building it for my FOSS community. I was reading documentations of gitlab for few hours, I dont find ...
- reputation score 1
Advice
0
votes
1
replies
56
views
GraphQL interfaces cause incorrect inheritance
We use GraphQL to query mapped entities from 2 different products. Product A does not have entity inheritance, while Product B has inheritance.
Suppose we have the following mappings: entities A1 <-...
- reputation score 1
Score of 1
0 answers
30 views
GitHub GraphQL Ref Query Format
In the GitHub API, there is an optional parameter when querying the refs object called query, which "Filters refs with query on name". Is the syntax for this query string documented ...
Score of 4
0 answers
68 views
HotChocolate ISelection drops child collection JOINs in EF Core when projecting to a view model
I am hitting a wall combining HotChocolate's projection engine (ISelection) with Entity Framework Core when trying to project database entities into custom view models / DTOs.
Whenever I append ...
- reputation score 41
Best practices
0
votes
0
replies
68
views
Return type of a mutation which streams back data in GraphQL
Intro to the Problem
So imagine you need to have an API which should stream back a video/audio file, what would be the return type? If you have an example written in NodeJS or any other programming ...
- reputation score 850
Advice
0
votes
4
replies
184
views
Stratz and the STRATZ API
Perhaps someone has worked with or encountered the Stratz website and the STRATZ API (Dota 2 game statistics), which uses GraphQL. There is documentation. I have the following request enter image ...
- reputation score 1
Score of 3
0 answers
96 views
How to hide GraphQL exceptions in strawberry and Django?
I am using GraphQL with strawberry in my Django project. When an exception is raised, the error is shown in the terminal like the server errors. But if a user make mistakes while creating a query, It ...
- reputation score 83
Score of 0
1 answer
98 views
Paging of batch-loaded, nested fields in Spring GraphQL
I have the following schema structure (albeit with entity names changed):
type Artist {
name: String!
fans(first: Int, after: String, last: Int, before: String): FanConnection!
}
type ...
- reputation score 606