0 I’m trying to query the commit history of a project’s repository of certain branch with GraphQL, is this possible? And there is no related samples I can find in Gitlab docs, or did I have to use the REST API which is much more viable. I’ll be appreciated if anyone have any ideas about […]
1 Example query: mutation prrt($input: AddPullRequestReviewThreadInput!) { addPullRequestReviewThread(input: $input) { thread { id } } } Using Octokit, I have to type like this: const mutateFn = graphql<{ addPullRequestReviewThread: AddPullRequestReviewThreadPayload; }>; const response = await mutateFn(mutation, { input, headers }); The addPullRequestReviewThread: part is quite long. Can this be automated/inferred somehow? I’d like to just […]
7 Is there an GraphQL client library available for C++ (Windows and Linux) and .NET? From Apollo website I can only see clients for React, Vue.js, Angular, Android, iOS, Ember and Meteor. If there is an Apollo client for C++ and .NET, where is it located ? If not, what should be used ? graphql […]
-2 I am using requests package from python to use graphql api to create users in my wiki.js I have the following code where I want to use variables for email and name fields. They work when hard coded but I need it to work with variables. Code: # we have imported the requests module […]
0 I’m working on a NestJS task where I must use GraphQL stitching with RabbitMQ. I actually have explored various options, however am having trouble finding clean and exact commands on a way to obtain this integration. problem: I want to set up a microservices architecture using GraphQL stitching, and I’ve chosen RabbitMQ as the […]
1 I have a simple application orchestrated by Docker Compose. It consists of a simple frontend (built using NextJS), a GraphQL API (built with NestJS), and a microservice (built with NestJS). The architecture is as follows: The frontend speaks directly to the GraphQL service. The GraphQL service communicates to the microservice via a NATS server […]
0 I’m working on some async code for subscriptions / web sockets and have the following code after some effort. This in itself is functional. @type(name="Subscription") class ContactsSubscription: @subscription async def company(self, info: Info, pk: str) -> AsyncGenerator[CompanyType, None]: async for i in model_subscribe_publisher(info=info, pk=pk, model=Company): yield i The part where I’m struggling is discovering […]
0 SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK) @AutoConfigureGraphQlTester class SpaceControllerTest { @Autowired private GraphQlTester graphQlTester; // below the test cases` Throwing exception : Unsatisfied dependency expressed through field ‘graphQlTester’: No qualifying bean of type ‘org.springframework.graphql.test.tester.GraphQlTester’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} I tried working on various options but not getting […]
0 I am trying to create multiple users at a time from a CSV file. Right now I am only able to create one user at a time using the following mutation: mutation { users { create ( email: "" name: "" passwordRaw:: "" providerKey: "" groups: [1] mustChangePassword: true sendWelcomeEmail: false ) { responseResult […]