0 When executing an Artillery test via the Windows command line, I observe the following response: 2023-12-12T13:52:17.968Z https:response "{"data":{"postApiV1Memo":{"code":200,"data":{"requestId":"d2966c0e-c91f-46b7-964f-1635ee0bde8b-323032335134"},"message":"Success"}}}" ok statusCode 200 In my YML configuration file, I’ve implemented code to capture and log specific fields, but unfortunately, I am unable to see the captured fields and logs (Also I am not able to Pass […]
20 Using MikroORM and getting this error: ValidationError: Using global EntityManager instance methods for context specific actions is disallowed. If you need to work with the global instance’s identity map, use `allowGlobalContext` configuration option or `fork()` instead The code that it corresponds to is below: import { MikroORM } from "@mikro-orm/core"; import { __prod__ } […]
0 I am using Gatsby and its GraphQL database. I am noticing I am duplicating a lot of GraphQL fragments like this on multiple pages. Here is an example of two queries: query Page1 { pageData: page1Data { mainContent { …Fragment1 …Fragment2 …Fragment3 …Fragment4 …Fragment5 } } } query Page2 { pageData: page2Data { mainContent […]
3 I am learning GraphQL with Node.js and I am currently using graphql-yoga as a GraphQLServer. Now, I want to seperate Type Definitions and Resolvers so I have used schema.graphql and in there I have all my types defined but now I have no Idea how to use that file as typeDefs in GraphQL Server. […]
0 I was given a new task and I have to debounce the input value to prevent a backend request on each keystroke and on the other hand CollectionsAutocomplete should have an internal useState with an input value, that is linked to the generalQuery variable. Right now I was able to add the internal useState […]
1 The bounty expires in 5 days. Answers to this question are eligible for a +100 reputation bounty. Benoit Cuvelier wants to draw more attention to this question. I have a problem on a SpringBoot (3.2.0) application that uses GraphQL with spring-boot-starter-graphql. I have several annotated controllers that contain some @SchemaMapping, @QueryMapping and @MutationMapping. For […]
-2 How do I solve the following issue in my Astro project: I can request the page content data for various pages from my GraphQL endpoint. I am using Apollo Client for this. Using the following query as an example: query Page($target: String!) { page(target: $target) { id type content { …on PageOne { id […]
4 GraphQL is well-known for its easy to maintain backward-compatibility of APIs defined with it. You’re supposed to just add new fields/types every time you need them and never remove old ones, only mark them with @deprecated directive. Thus, your server could evolve independently of its clients versions. However, I have a quite opposite problem: […]
0 After successfully creating a sample Rust+GraphQL project using async-graphql and axum and visualizing something in the playground, the time has come to actually use data for queries. I am using this for schema: let schema = Schema::build( Query, EmptyMutation, EmptySubscription ) .data(user_data) .finish(); where Query is: pub(crate) struct Query; where user_data is: pub struct […]
0 I am trying to use Doctrine with API Platform graphql in symfony application. I am using Postgres for database. I have two entities viz WallPost and WallPostLikes with OneToMany Relationship. That means one wall post will have many likes. While querying wall posts, I am also trying to retrieve all the likes for each […]