1 Hi I am attempting to build a fintech app and am using a template I found here: https://github.com/aws-samples/aws-plaid-demo-app I am looking to modify the data base to better fit my needs and had a few questions about best practices for implementation before I start making major changes. The demo app seems to combine all […]
0 I’m trying to create a custom exception when GraphQL throws its owns. The default GraphQL exception response I got is (except for the fillings): { "errors": [ { "message": "Validation error of type WrongType: argument ‘inputLocals.localId’ with value ‘IntValue{value=7777800}’ is not a valid ‘Int’ – Expected value to be in the Integer range but […]
0 I am trying out relay-treasure hunt tutorial but getting the following error when I run npm start. I did update my schema by running npm run update-schema. Uncaught Error: GraphQL validation error “Cannot query field “game” on type “Query”.“ in file `/home/tharaka/My Projects/relay-treasurehunt/js/routes/AppHomeRoute.js`. Try updating your GraphQL schema if an argument/field/type was recently added. […]
0 I created a MERN application using Graphql, and I’m trying to fetch using properties that are nested inside my data as variables. As an example, I have client and project models. Is it possible to fetch all the projects for a specific client by passing the client ID when fetching the projects with useQuery. […]
11 C++20 added concepts, and the standard library includes quite a few of them. One concept in particular caught my eye: std::invocable which validates that a functor can be invoked with a set of arguments. std::invocable is just syntactic sugar for std::is_invocable. However, the standard library further defines std::is_invocable_r which tests whether a functor can […]
0 Working on a large codebase, I came across 2 exposed graphql mutations with the same name. To my understanding, these should give an error when generating the graphql schema, yet the site is perfectly functional. Both these mutations have the same method arguments as well. I want to know what are the rules on […]
0 I am trying to create serverless azure function with graphql in visualstudio code. I am following the below tutorial Build Serverless API with GraphQL and Azure— Part I After starting the application, i see the error attached in the browser. unable to execute query because of the error. Tried with the embed sandbox on […]
0 I need insert in Shopify from CURL with graphql a html traslation but not accept "<" character I try with < < but nothing.. {"query": "mutation CreateTranslation($id: ID!, $translations: [TranslationInput!]!) { translationsRegister(resourceId: $id, translations: $translations) { userErrors {message field} translations {key value locale} } }","variables": {"id": "gid://shopify/Product/myid","translations": [{"key": "body_html","value": "<p>La Camicia da Uomo in […]
0 Below is the query I am trying to run to generate customer token. Can somebody help me out? Query runs successfully in Postman. mutation Login($email: String!, $password: String!) { generateCustomerToken(email: $email, password: $password) { token customer { …CustomerFragment } } } fragment CustomerFragment on Customer { email firstname lastname mobilenumber user_source pushnotification group_id is_subscribed […]