0 I have the following GrapqhQL query: query { listTenants { totalCount items { tenantId name sites { totalCount items { siteId cmxName cmxState hosts( order: { hostId: ASC } where: { hostName: { neq: "ans" } } skip: 4 take: 2 ) { totalCount items { hostId hostName siteId } } } } } […]
0 I have method: @GraphQLQuery(name = "events", description = "get all events") public List<String> getEvents() { return List.of("test", "test2"); } I need to create query for clients. below example not work: query events{ events{ … String } } what is wrong? spring graphql graphql-java Share Improve this question Follow asked Jun 23 at 13:27 user11149927user11149927 […]
0 I am using Android Studio Giraffe and mobile buy sdk 16.1.0.when I want to add a query for retrieve first 3 products from shopify it gives unresolved reference : products but all my dependencies and imports are correct should I use something different? val query = Storefront.query { rootQuery: Storefront.QueryRootQuery -> rootQuery.shop { shopQuery: […]
0 I am new to Apollo Federation and I am having the following issue / question: In Subgraph A I have the following: type Product @key(fields: "id") { { id: ID! title: String } In Subgraph B I have the following: type Product @key(fields: "id") { { id: ID! related: [Product] } When I run […]
0 I’m using graphql/hotchocolate in my app and I have the following structure: public record PriorInjury(IDictionary<Location, Injure>? Injuries) public record Location(Enums.BodyPart BodyPart, Enums.Side Side, Enums.FrontOrBack FrontOrBack); public record Injure(Enums.PainLevel Level, Enums.HowOftenInjureHurts HowOften, Enums.SinceWhenInjured Since); This is my command: public record AddInjuryCommand(PriorInjury? PriorInjury) : ICommand<Guid>; This code is throwing: InputObject `PriorInjurySortInput` has no fields declared. (HotChocolate.Data.Sorting.SortInputType<PriorInjury>) […]
0 I want to add an annotation to my controller methods that is used to check if the user can perform an action or access a piece of data before the controller method is called. I want to be able to check each individual query/mutation, rather than each http request which may come with multiple […]
11 Background: I’m trying to port a library to compile on MSVC. That library stores data in a tuple of vectors (std::tuple<std::vector<Ts>…>), and uses a custom iterator to iterate over all vectors simultaneously (similar to what a zip_iterator does). The iterator defines types that look like this (assuming Ts… -> <int, int>) : `value_type` is […]
0 I have two graphql subgraphs server a and server b. Each running fastify and mercurius and using grapqql-upload to handle files. I also have an apollo gateway connected to both servers and working well for queries and mutations. However when using file upload I get a validation error. Anyone ever dealt with this ? […]
0 I have a single grapqhl query that has multiple queries. The data returned is not correct as some of the data is mixed up. If I run the same query on graphql studio I get the desired data, however the data is wrong on the browser. query GetCarFilters { getCarModelsWithCount { …CarFilterFields } getCarMakesWithCarsCount […]