0 I have a React Form Component using Graphql & Apollo. I am trying to test this Form at Storybook but I got the following error message : Error: Cannot destructure property ‘MockedProvider’ of ‘context.parameters[PARAM_KEY]’ as it is undefined. here is my Preveiw.ts file content: import type { Preview } from "@storybook/react"; import { MockedProvider […]
0 I’ve developed a service application in Delphi that handles GraphQL queries. The primary function of this application is to fetch data from a Microsoft SQL database and supply it to a Magento webshop. The application works as expected for the most part. However, I occasionally encounter the following error: [FireDAC][Phys][ODBC][Microsoft][ODBC SQL Server Driver]Connection is […]
0 I’m trying to retrieve the price of the last sales of sorare cards for a particular player. I can’t find the right argement to pass to the query to do this. I’m also looking to see if it’s possible to retrieve indicators such as average card prices. I’ve managed to retrieve the price of […]
0 I am facing an issue in cors. We are not able to allow the Access-Control-Allow-Origin. Please let us know how to add the headers or how to handle the Cors issue. Below added my code snippet. const { ApolloServer } = require(‘@apollo/server’); const { startServerAndCreateHandler } = require(‘@as-integrations/azure-functions’); const server = new ApolloServer({ typeDefs, […]
0 How to handle a dynamic query in the GraphQL without doing the changes specific to the query filters in the backend logic? Please let me know. I found the way to handle the same using the Mongoose Framework and REST API. rest mongoose graphql Share Improve this question Follow asked 3 hours ago Narra […]
0 I am using SpringBoot and Graphql for a module as well using OTEL. I need spanID and traceID in the logs of the application. trace_id: OTel trace trace id, must be present in every log record produced in request context. span_id: OTel trace span id, must be present in every log record produced in […]
0 I am planning to migrate my site from Shopify to Shopify Headless + Gatsby but I am having a problem with the plugin, gatsby-source-shopify. It can create nodes for products and product related data but not blog posts. Is there any way to get blog posts or do I have to create them manually […]
0 I currently have my logging configured as follows: LOGGING = { "version": 1, "disable_existing_loggers": False, "formatters": { "default": { "format": "{levelname} {asctime} {process} {module}: {message}", "style": "{", }, }, "handlers": { "console": { "level": "DEBUG", "class": "logging.StreamHandler", "formatter": "default", } }, "loggers": { "server": {"handlers": ["console"], "level": "DEBUG"}, "django": {"handlers": ["console"], "level": "INFO"}, "graphql.execution.utils": […]
0 I am currently trying to fire a GraphQL query several times on scroll and after each time store the result in local cache without overwriting the previous one. In React I could achieve this easily using local state and setting it to […oldData, …newData]. However I have no luck doing this via GraphQL. I’ve […]