Questions

  • 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 […]

  • Handling Exceptions not working with SPQR (graphql)

    0 I am having an issue in configuring exception handling with this. I went through all the issues/examples and found some solutions. But don’t know that is not working. See, here is how I configured my graphQL @Autowired public GraphqlController(BookResolver bookResolver) { GraphQLSchema schema = new GraphQLSchemaGenerator() .withBasePackages("com.graphql.learn") .withOperationsFromSingleton(bookResolver) .generate(); this.graphQL = new GraphQL.Builder(schema) .queryExecutionStrategy(new […]

  • Gorm postgress DB database display error: bigint type for the user id

    0 Based on the schema below, when I try to implement the function, it displays an error as it’s not a bigint type for the user id, but the user id in the user struct generated by gqlgen is a string. My schema: type Query { getUser(id: ID!): Users! listUsers: [Users!]! } type Mutation { […]

  • GraphQL Query to Get Data Two Different Tables

    0 I have two tables a and b. a have id and age fields. b have id, pid, and name fields. b.pid has a foreign key relationship with a.id. How can I get age and name from these tables using a GraphQL query? Tables are created using SQL. sql graphql graphql-js Share Improve this question […]

  • Collaboration request

    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 […]

  • Laravel Lighthouse Graphiql Introspection query failing to fetch

    0 I have a laravel graphql backend using Laravel Ligthouse, I’m using laravel Sanctum for authentication, the introspection query always fails to fetch with the following error on Graphiql: { "errors": [ { "message": "Failed to fetch", "stack": "TypeError: Failed to fetchn at https://unpkg.com/graphiql/graphiql.min.js:71200:22n at Generator.next (<anonymous>)n at https://unpkg.com/graphiql/graphiql.min.js:71119:67n at new Promise (<anonymous>)n at __webpack_modules__…/../graphiql-toolkit/esm/create-fetcher/lib.js.__awaiter […]

  • Why is R’s hamming function different from Matlab’s?

    8 Why does the hamming function in R give different values to the function of the same name in Matlab? Matlab: hamming(76) 0.0800 0.0816 0.0864 0.0945 0.1056 0.1198 R: library(gsignal) hamming (76) 0.08695652 0.08851577 0.09318288 0.10092597 0.11169213 0.1254078 r function matlab signal-processing Share Improve this question Follow edited 39 mins ago Jacob 1,59888 silver badges2525 […]

  • graphql query to get two differe tables

    0 i have two tables a and b . a have id and age fields. b have id,pid and name field. b.pid have foreign key relationship with a.id . how can i get age and name from these tables using graphiql query? tables are created using sql. sql graphql graphql-js Share Improve this question Follow […]