0 Here’s what I’m trying to do. I’m trying to use redis as store with express-session but get an error : src/index.ts(14,20): error TS7009: ‘new’ expression, whose target lacks a construct signature, implicitly has an ‘any’ type. src/index.ts(15,5): error TS2353: Object literal may only specify known properties, and ‘client’ does not exist in type ‘(options?: […]
0 I’ve been using GraphQL for about 2 years now. I’ve been using relational dbs for a long, long time. What I don’t understand is the intended way to use the two together. The summary of my problem is essentially how GQL allows you to ask for what you want, and how that is supposed […]
0 I use GraphQL in my Net core application. I discovered that for the same query, the first query took quite a long time (about 1400ms). But when I query again, the time is only 20ms, the next time too. Why? This is my code [UseDbContext(typeof(StudentManagerContext))] public async Task<List<CourseType>> GetAllCourseUsingDataLoader([ScopedService] StudentManagerContext context) { var stopwatch […]
0 I am facing an issue with the return types of Hasura queries when generating schemas using the codegen library (via yarn graphql-codegen –config codegen.ts command). Previously, the generated schema used to look like this: schema in graphql.schema.json — { "kind": "OBJECT", "name": "table_name", "description": "columns and relationships of "table_name"", "fields": [ ….. { "name": […]
0 I have an API Management Service in Azure, there I’m trying to configure my first mutation but I’m having troubles configuring the Resolver Policiy, let me share more details: Here is my mutation: my ResolverPolicy looks like this: <http-data-source> <http-request> <set-method>POST</set-method> <set-url>[URL]</set-url> <set-header name="Content-Type" exists-action="override"> <value>application/json</value> </set-header> <set-body>@{ var args = context.Request.Body.As<JObject>(true)["arguments"]; JObject jsonObject […]
If you are looking to rank your local business on Google Maps in a specific area, this service is for you. Google Map Stacking is a highly effective technique for ranking your GMB within a specific mile radius. More info: Google Maps Pointers Thanks and Regards Mike Pass PS: Want a comprehensive local plan that […]
-2 Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 13 mins ago. Improve this question I am currently working on a project in which GraphQL is being implemented for the first time and initially […]
0 I have a system that is using Amplify Api to interact with a GraphQL api that is not part of an Amplify project. None of it was set up with the amplify-cli. I have a function that makes a call to the mutate function of the AmplifyCategory class. I would like to unit test […]
0 I am trying to integrate graphql in my android project.My package name is app.android.mylife. I have set apollo { packageName.set("app.android.mylife") } in my gradle file. I created the same package structure for graphql folder also. main-graphql-app-android-mylife->(here all graphql files) I am having schema.json file which is also integrated . And defined the query like […]