Questions

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

  • Dataloader is using only recent context

    0 I have defined a custom context as below @Component public class MyContextBuilder implements DgsCustomContextBuilder<MyContexttBuilder.MyContext> { @Override public MyContext build() { return new MyContext(); } public static class MyContext { private String customState = "Custom CID!"; public String getCustomState() { return customState; } public void setCustomState(String state) { customState = state; } } } Datafetcher […]

  • in my gorm postgress db, my database display error as it is not bigint type for the user id

    0 my gqlgen go app with postgres based on the schema when i try to implement the function it display error as it is not bigint type for the user id, but the user id in the user struct generated by gqlgen are string //my schema type Query { getUser(id: ID!): Users! listUsers: [Users!]! } […]

  • Shopify API – Set different prices for foreign currencies to specific VariantID

    0 I need to send API call to set different prices for each currency to specific VariantID. The shop is set to base on GBP. Somehow I need pass the prices for each currencies for specific VariantID I can see in shopify settings -> markets -> EU -> there is an pricelist for EUR, I […]