Questions

  • Auto update React.js front-end, when items added in DynamoDb

    0 I’m developing a serverless AWS app. For the front-end I’m using react.js, for the back-end (REST API calls), I’m using Claudia API Builder (API Gateway & Lambdas) and I store my data in DynamoDB tables. Problem I want, whenever a user adds an item in a DynamoDB table, this to be shown automatically to […]

  • Updating a single product in shopify app using Laravel and Graph QL

    0 Im using Laravel to create a Shopify app. I have a mutation to create a product in shopify which works fine… private const CREATE_PRODUCTS_MUTATION = <<<‘QUERY’ mutation populateProduct($input: ProductInput!) { productCreate(input: $input) { product { id } } } QUERY; $response = $graph->query( [ "query" => self::CREATE_PRODUCTS_MUTATION, "variables" => [ "input" => [ "title" […]

  • Limit graphql-codegen by kind

    0 I am using graphql-codegen to generate types for an internal package to allow graph queries to interact with a very small subset of the massive schema of a larger application. The stitched-schema has identically named objects of different kinds, which is resulting in invalid TypeScript as it generating identically named objects. The duplicate named […]

  • Dynamic Generation of GraphQL Client Sample query , Mutation ,..etc from the URL Endpoint Schema

    0 I need to generate a dynamic Query,Mutation..etc.. for GraphQl client with the GraphQL Schema from URL Endpoint in java, GraphQl Query Generator Please refer the above image . There is GraphQL Query Generator (Chrome extension) which i need all the functionality in java, { "data": { "__schema": { "queryType": { "name": "Query" }, "mutationType": […]

  • Junit test for suscription mapping not working

    0 I have been referring to this https://docs.spring.io/spring-graphql/docs/current/reference/html/#testing to setup test for the subscriptionMapping However when I run the test the subscription start but does not emit the message and ends up in a hangup state. Can someone help me in what am I missing @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT) class SubscriptionControllerTest { val client: WebSocketClient = […]

  • Dynamic generate GraphQL schema supports

    11 Is it possible to dynamically create a GraphQL schema ? We store the data in mongoDB and there is a possibility of new fields getting added. We do not want any code change to happen for this newly added field in the mongoDB document. Is there any way we can generate the schema dynamically […]

  • GraphQL Sample query , Mutation ,..etc generation from graph Ql generation

    0 I need to generate a dynamic Query,Mutation..etc.. for GraphQl client with the GraphQL Schema from URL Endpoint in java, GraphQl Query Generator Please refer the above image . There is GraphQL Query Generator (Chrome extension) which i need all the functionality in java, { "data": { "__schema": { "queryType": { "name": "Query" }, "mutationType": […]

  • C++23: char now supports Unicode?

    8 Does C++23 now provide support for Unicode characters in its basic char type, and to what degree? So on cppreference for character literals, a character literal: ‘c-char’ is defined as either: a basic-c-char an escape sequence, as defined in escape sequences a universal character name, as defined in escape sequences and then for basic-c-char, […]

  • GraphQL Mutation Error in doctrine OneToOne nested relation with API Platform

    1 I am currently facing an issue with a GraphQL mutation in API Platform and was hoping to find some help here. Here is the background: I am working with two entities, Recepe and Picture, which have a OneToOne relationship. In my Recepe entity, the mainPicture field is linked to the Picture entity. Below are […]

  • Query works Mutations fail: Expected non-null value, resolve delegate return null

    1 I have a GraphQL .Net Core server and queries resolve wonderfully. Mutations however are failing with this error. "message": "Expected non-null value, resolve delegate return null for "$GraphQLCore.Types.SInputType"", I understand that you do not reuse your query types for mutations and I have created separate types but I’m still missing something. public class SInputType […]