0 I have a number of actions that interact with a REST API which were generated using the “import from OpenAPI” function. One of those actions is a ‘v1/token’ for oauth for the other actions. Whats the most elegant way to use this action before the other actions to ensure I have the correct ‘accessToken’ […]
0 I’m trying to fetch multiple transactions with an array of IDs but i might do something wrong and I’m facing the following error : ERROR GraphQL Error: [ { path: null, locations: [ [Object] ], message: "Validation error of type WrongType: argument ‘filter.id’ with value ‘ObjectValue{objectFields=[ObjectField{name=’id’, value=ObjectValue{objectFields=[ObjectField{name=’in’, value=VariableReference{name=’ids’}}]}}]}’ contains a field not in ‘ModelIDInput’: […]
60 Is it possible to have a define a field as Date or JSON in my graphql schema ? type Individual { id: Int name: String birthDate: Date token: JSON } actually the server is returning me an error saying : Type “Date” not found in document. at ASTDefinitionBuilder._resolveType (****node_modulesgraphqlutilitiesbuildASTSchema.js:134:11) And same error for JSON… […]
-1 Here is info about our technical development environment : • .NET 6 • C# 10 • Hasura GraphQL v2.6.2-pro.1 • Micrsoft SQL server 2019 • Visual Studio 2022 • "GraphQL" version="7.3.1" Proxy • "GraphQL.Client" version="5.1.1" Proxy • "GraphQL.Client.Serializer.Newtonsoft" version="5.1.1" Proxy I have application code that Converts integer-based Unix timestamp into a C# DateTimeOffset I […]
1 We are using Apollo Router + Netflix DGS to build federated graphql services. Suppose that we have a common relational database right now for books and authors, but want to move towards a microservice architecture, where books and authors are stored separately in their own database. Suppose that I have the following graphql schema: […]
0 I’m working on a GraphQL project where I have multiple schemas, and one of the schemas includes a Union type (Site) which can represent different types, such as PhysicalSite and WaitingRoom. I need to use batchDelegateToSchema to efficiently resolve the ‘sites’ field on the ‘Study’ type, which returns a SitesConnection that includes the Site […]
0 I’m trying to fetch multiple transactions with an array of IDs but i might do something wrong and i’m facing the following error : ERROR GraphQL Error: [ { path: null, locations: [ [Object] ], message: "Validation error of type WrongType: argument ‘filter.id’ with value ‘ObjectValue{objectFields=[ObjectField{name=’id’, value=ObjectValue{objectFields=[ObjectField{name=’in’, value=VariableReference{name=’ids’}}]}}]}’ contains a field not in ‘ModelIDInput’: […]
0 We migrate to microservice architecture. Well, I understand a lot of principles like one service – one db and it is a not a problem, we search a problems in our architecture before realization. I want to create api-gateway with graphql and subgraph for every services like: tasks, orders, clients etc. P.S. Sorry I […]