0 I’m working on a GraphQL API using API Platform 2.7 and PHP8. I’m stuck since yersterday on a basic simple thing which is very annoying >< I want to create a custom Query which does not return my ApiRessource class (User) but another representation (MyFullPerimeterOutput). When I do it in REST API it works […]
0 context: ({ req }) => { if (req) { return { ip: headers.userip, headers, userLanguage, decodedToken, dataLoaders: { seoDataLoader: createSeoDataLoader() } } } } Here I create a createSeoDataLoader instace for every request . now suppose if i have 50 loaders then for every request 50 loaders instance created and i think its not […]
0 I need to push changes to files on a number of projects in a regular basis, through automation. Assuming the data is available in a specific branch locally, how do I push the changes to github through API? There is a REST API and also the graphQL API , but both seem to require […]
0 Here is info about our technical development environment : • .NET 6 • C# 10 • GraphQL 7.1.1 • GraphQL.Client 5.1.0 • GraphQL.Client.Serializer.Newtonsoft 5.1.0 GraphQLRequest request = new GraphQLRequest { Query = @" mutation FaxReceiverInfo( $_DateCreated: datetime, $_FaxNumber: String, $_FaxRecord: uniqueidentifier, $_Reason: String ) { insert_vw_EmailDeliveryRecordDetail_one ( object: { DateCreated: $_DateCreated, FaxNumber: $_FaxNumber, FaxRecord: […]
19 In C++ loops as for(;;) {} are UB, whereas they are not in C? In https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2809r0.html it is expressed that there are good reasons for doing so. Are there any simple examples to make that clear? c++ c loops optimization undefined-behavior Share Improve this question Follow asked 17 hours ago wimalopaanwimalopaan 4,60811 gold badge1919 […]
0 I have a GraphQL query that retrieves articles along with their related stores and associated price data. However, I want to filter the edges in the articlesConnection field to only include edges where the node.id matches the id of the article. Here’s the query I have: query GetAllArticles($options: ArticleOptions) { articles(options: $options) { id […]
0 I am a seasoned Neo4j user who is new to GraphQL. I have inherited a codebase that explicitly models all Neo4j nodes and relationships as GraphQL objects. I would like to allow GraphQL users to determine what uniqueness constraints, if any, affect any given object. For an individual object, I believe I can deliver […]
0 i’m working on creating mutations for a project i’m working on but stuck on the resolver returns, i won’t to handle the errors while i’m at it as well by sending back messages for notifications to make it user friendly, but let’s say my mutation is UPDATE_USER and it should also return the updated […]
0 I am currently developing an app in Dart/Flutter and I am facing one issue with my data class to handle my GraphQL response. My User class is defined as following: import ‘package:json_annotation/json_annotation.dart’; import ‘/src/dataclasses/user_address.dart’; import ‘/src/dataclasses/user_birthdate.dart’; import ‘/src/dataclasses/user_legal_guardian.dart’; part ‘user.g.dart’; @JsonSerializable() class User { String? sub; String? email; String? username; List<dynamic>? roles; String? name; […]