0 I want to perform load testing using Postman for GraphQL API. The requirement is that I need to confirm whether the application is able to withstand 200 concurrent requests. But in Postman Canary I am not able to specify 200 concurrent requests. Can any one help on this. graphql postman load-testing web-api-testing Share Improve […]
0 I have quiz api in nestjs, i am using typeORM for saving data, I want to do following transaction: create quiz in quiz table with title and auto generated Id and empty array of questions for each question try to save question in data base with generated quiz_id and questions input save quiz and […]
28 In C++ loops as for(;;) {} are undefined behavior, whereas they are not in C(?). On P2809R0. Trivial infinite loops are not Undefined Behavior, 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 […]
11 I’ve read this Integral promotion: prvalues of small integral types (such as char) may be converted to prvalues of larger integral types (such as int). – first line […details – not important…] Note that all other conversions are not promotions; for example, overload resolution chooses char -> int (promotion) over char -> short (conversion). […]
0 I have a graphql extension for vscode. It works fine, I got a highlight and param hints but can’t get fragments to work properly.. client: { service: { name: ‘test’, localSchemaFile: ‘./schema.json’, includes: [‘./graphql/**/*.graphql’], }, }, } This is my setup, and I import fragment with line… #import "…/file.graphql" and vscode says "unknown fragment" […]
0 Can some one help me to solve the following error? I run the graph-node with docker-compose using the following command: docker compose up after the graph-node run successfully I execute the following command: docker compose exec -it graph-node graphman config check but I got the following error: Error: Configuration error Caused by: No such […]
0 I’m using @apollo/client version 3.7.3 in a react.js, typescript application. After fetching a list of objects from the server, some values are removed from the cache spontaneously! So when the client gets the data from the server, it stores them in the cache to be used in the UI and the cache version is […]
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 […]