Questions

  • Graphql Shopify | Query articles with its metafields

    1 Has anyone done a query for Articles that have metafields? I can query the articles with its title, otherfields etc, but by default Shopify won’t return the articles metafields in this call. These metafields for these articles have been created by an app. My first goal would be trying to call all articles and […]

  • Django GraphQL Endpoint Not Found When Requested via Krakend API Gateway

    0 Hello StackOverflow Community, I am currently experiencing an issue with a Django project using GraphQL, specifically when attempting to access the GraphQL endpoint through the Krakend API Gateway. Environment: Django: 4.2.6 GraphQL Krakend API Gateway Dockerized environment Problem: When I send a request directly to the Django backend’s /graphql endpoint, it works as expected. […]

  • How can a big number fit precisely into `double` with 32-bit GCC?

    6 Consider the following code: #include <iostream> int main() { long long x = 123456789123456789; std::cout << std::fixed; auto y = static_cast<double>(x); // (1) std::cout << static_cast<long long>(y) << "n"; // (2) std::cout << y << "n"; std::cout << (x == static_cast<long long>(y)) << "n"; // (3) std::cout << static_cast<long long>(static_cast<double>(x)) << "n"; // (4) […]

  • StrawberryShake graphql init command return Object reference not set to an instance of an object

    0 I’m trying to use StrawberryShake library to build a GraphQL client app. When executing dotnet graphql init https://public-api.shiphero.com/graphql –headers Authorization="xxxxxxxxxxx" command in Visual Studio Developer PowerShell window, it downloads the schema ok, but then generates error of "Object reference not set to an instance of an object". Does anyone know what to do to […]

  • Possible to use only one package version using pnpm?

    1 I need to use apollo-server and graphql-upload to handle file uploads. This is working as expected with the old graphql-upload v9. Updating to the latest v11 results in failing uploads. To make it short, the problem is, that apollo-server (and @nestjs/graphql) are depending on the old graphql-upload v8. (For those, who are interested in […]

  • Problem with spring boot graphql. Request /graphql results with 404

    8 I’m trying to run simplest graphql example. I created application with spring initializer and only added graphql dependencies. My build.gradle buildscript { ext { springBootVersion = ‘2.1.1.RELEASE’ } repositories { mavenCentral() } dependencies { classpath(“org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}”) } } apply plugin: ‘java’ apply plugin: ‘eclipse’ apply plugin: ‘org.springframework.boot’ apply plugin: ‘io.spring.dependency-management’ group = ‘com.example’ version = […]

  • Modify multi query arguments in graphQL-JS

    0 I am building an app using graphQL, neo4j and Apollo client and running into issue with multi-query. I want to implicitly apply argument to multi-query on server side when user pass payload without arg. For example: query { books(where: { cust_id: "1"}) { name } posts { description } cars { type } } […]

  • how to implement graphql with java with nebula graph like dgraph

    1 I have a java project I have a nebula graph to save all my information I need to have graphql queries I implement it but we need a dynamic schema so we save our schema for any of dynamic entity types for example our users want to have dynamic datatypes that we implement and […]

  • Go gqlgen command not found occurs

    0 I’m learning Go and GraphQL. I was building a Go environment, but when I ran the gqlgen init command, I got a message in the terminal bash: gqlgen: command not found When I ran the gqlgen init command, a message appeared in the terminal. The command that was executed $ mkdir with-apollo-api $ cd […]

  • Getting uuids of references with Get filtering

    0 I understand one can get the uuid of an object using .with_additional([id]). Let say now, I request references as well for example: where_filter = { "path": ["name"], "operator": "Equal", "valueText": "whatever" } (client.query.get("Node", [‘name’, ‘hasChildren{… on Node{name}}’]) .with_where(where_filter) .with_additional([‘id’]) .do()) the .with_additional applies only to the parent node and you would not get uuids […]