0 I need to insert record in through one SubGraph and based on returned Id I want to update record in another SubGraph. Looks like apollo doesn’t support mutation chaining directly (can’t pass Id from one mutation to the other one). Can we do a query, get an Id and then use that in a […]
Hi there, My name is Mike from Monkey Digital, Allow me to present to you a lifetime revenue opportunity of 35% That’s right, you can earn 35% of every order made by your affiliate for life. Simply register with us, generate your affiliate links, and incorporate them on your website, and you are done. It […]
Hi I have just took an in depth look on your letslearngraphql.com for the current search visibility and saw that your website could use a boost. We will improve your ranks organically and safely, using only state of the art AI and whitehat methods, while providing monthly reports and outstanding support. More info: Unbeatable SEO […]
0 I’m trying to create a middleware to receive a token from the header, but it never seems to trigger, and I never see the ‘hello’ log message I inserted at the top of the middleware. const jwt = require(‘jsonwebtoken’); const { GraphQLError } = require(‘graphql’); module.exports = async ({ req }) => { console.log(‘hello’); […]
1 Background My spring-boot-3 application need to get data from external GraphQL API. There I can/need fetch data by 4 different queries. I want to find some generic GraphQL Client with default GraphQL exceptions handling and default response conversion to objects. Question Is there any simple way to call GraphQL API? Any dependency or client […]
0 I came across this issue called module cycles when requiring modules. Im working on a small star wars graphql api and ill explain in short where i got the issue : I have two type : filmType and charecterType: film.js: const axios = require("axios"); const { GraphQLObjectType, GraphQLString, GraphQLInt, GraphQLList, } = require("graphql"); const […]
-1 I have tried sending 404 status using json-server and it works with postman as seen below. But when I’m doing it inside apollo sandbox, it’s giving me this invalid doctype. Not sure why json-server is sending out html instead of json content type because I’ve already set it Here is the json-server Here’s my […]
0 I started moving my REST API endpoints to using GraphQL with Graphene. Seems pretty straightforward so far, but one of the things that I like about the REST API (and I cannot figure out in Graphene) is the structure of "endpoints" for each app. I have a lot of apps in my Django application, […]
0 I have problems getting local-only fields via typePolicies to work in my app. My setup is the following: This is one of my queries: export const GET_ALL_DEBT_TOKENS = gql` query GetDebtTokens { getDebtTokens { totalSupplyUSD totalReserve totalReserve24hAgo token { address symbol priceUSD @client priceUSD24hAgo } } } `; And this is the config to […]