0 How to create subdomains in nestjs/graphql? to be able to query something like query { Foo { Bar { search(page: 1) { id name } } } } Basically how can I create the Foo and Bar handlers? graphql nestjs Share Follow asked 1 hour ago JonathanJonathan 4,72477 gold badges4545 silver badges6565 bronze badges […]
0 Lets say graphql scema looks like this type query { foodInformation: Foodinformation # some other query types carInformation: CarInformation } type Foodinformation { getDishes(): Dishes! getFilteredDishes(input: filterInput): Dishes! # some other quiries } type PageInformation { pageNumber: int pageSize: int totalPages: int totalItems: int } input FilterInput { name: string id: int comment: string […]
7 There are a lot of *_v and *_t suffixes, like std::is_same_v, std::invoke_result_t, result_of_t and milions of other such functions. Why do they exist at all? Is it beneficial in any context to expose implementation details like std::result_of::type or std::is_same::value? Ignoring standard compliance, should the _v _t versions always be preferred? Could the ::type ::value […]
0 I was using the graphql playground desktop app on my Mac for a few months when it suddenly stopped working. Now , when I try to open the application, it gets stuck on this. I uninstalled and reinstalled application but didn’t help. Any ideas? macos graphql apollo graphql-playground Share Follow asked 4 mins ago […]
0 I am creating a function that enables an admin to manage which items would be added to the dashboard list of items, He can add/remove items from a list in settings to the actual list in dashboard. I added the following code in Settings.js: import { dashboardList } from ‘./Dashboard’; const dashboardItems = [ […]
0 I am creating a microanuat and kotlin app using grapqhl but when trying with curl am getting an error which i have pasted below the code, am trying to figure wher i am going wrong import graphql.ExecutionInput import graphql.GraphQL import io.micronaut.http.annotation.Controller import io.micron " curl -X POST -H "Content-Type: application/json" -d ‘{ "query": "mutation […]
0 It’s fairly common practice in GraphQL to return custom data on an extensions field (Facebook use this for image prefetch URLs for example). I am trying to do this in Graphene, and have made an attempt to do this in execute_graphql_request. class CustomGraphQLView(GraphQLView): def execute_graphql_request(self, request, *args, **kwargs): result = super().execute_graphql_request(request, *args, **kwargs) result.extensions[‘a’] […]
0 When trying GraphQL in the Playground, I get the following error: Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are […]