Questions

  • GraphQL (SendQueryAsync) deadlocked when executing from Maui ViewModel initializer

    0 GraphQL query runs just fine when I run it in a C# console app. Using the exact same GraphQL Client, similar code and properties it hangs when I try to run it from a ViewModel initializer in Maui. An exception is thrown: "System.Reflection.TargetInvocationException: ‘Exception has been thrown by the target of an invocation.’" If […]

  • Helidon: GraphQL with Stream and Defer annotation

    0 I am working on a graphql API using Helidon MP and looking to confirm that directives @ stream and @defer supportable? GraphQL documentation link for reference: https://graphql.org/blog/2020-12-08-improving-latency-with-defer-and-stream-directives/ we tried GraphQL @stream and @defer annotation but its not working. We could make it work in Apollo server. graphql stream java-stream graphql-java helidon Share Follow asked […]

  • With Apollo Graphql, is it the same having a field as null and not sending it?

    0 I am implementing a React Typescript app that communicates to a Kotlin backend using GraphQL (Apollo on the Frontend). My mutation is : updateProfile(input: UpdateProfileInput) input UpdateProfileInput { firstName: String lastName: String email: String } I am supposed to send as an input only the fields that have been changed. So I should not […]

  • Dynamoc robots is working fine in Developmemnt mode in nextjs but not reflecting changes in Production mode

    0 Need to create dynamic robots.txt file using the rewrite and API route handler, that is working fine in dev but returned cached data in Prod mode caching should disable in production mode **package.json ** `{ "name": "frontend", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev –experimental-https", "build": "next build", "start": "next start", "lint": […]

  • Shopify Processing Error On File Upload Through JS/GraphQL

    0 I am implementing a simple solution that allows the user to select a file (any type of image). Once selected, the user clicks on "Upload Image," and the API call is triggered. I am receiving a status 200 in response, but when I check the Shopify Files directory in the admin panel, it shows […]

  • Why does GCC copy object for each comparison in `std::ranges::max`?

    10 Consider the following example (Godbolt): #include <vector> #include <iostream> #include <ranges> #include <algorithm> struct A { A() {} A( const A& ) { std::cout << "Copyn"; } A( A&& ) noexcept { std::cout << "Moven"; } A& operator=(const A&) { std::cout << "Copy assignedn"; return *this; } A& operator=( A&& ) noexcept { std::cout […]

  • Download Gitlab’s graphql schema

    2 I’m trying to get hold of gitlab_schema.graphql, i.e. the schema for Gitlab’s graphql API. Can’t find it anywhere, does anyone have any pointers? graphql gitlab Share Follow asked Sep 16, 2021 at 16:58 Fredrik JanssonFredrik Jansson 3,78433 gold badges3030 silver badges3333 bronze badges 5 Answers 5 Sorted by: Reset to default Highest score (default) […]

  • How to run oauth logic before an action?

    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’ […]

  • How can I use the IN filter with an Amplify GraphQL query?

    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’: […]

  • Date and Json in type definition for graphql

    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… […]