Questions

  • How to make sure my graphql subscription api is working?

    0 This is my subscription resolver in golang: func (r *subscriptionResolver) CreateChatWithBot(ctx context.Context, req model.CreateChatWithBotRequest) (<-chan *model.CreateChatWithBotResults, error) { ch := make(chan *model.CreateChatWithBotResults) testString := []string{"This", "part", "is", "under", "construction", "…", " Be", "patient", "please!"} go func() { defer close(ch) for _, v := range testString { select { case <-ctx.Done(): return case ch <- […]

  • Domain Authority of your letslearngraphql.com

    Hi there, I have reviewed your domain in MOZ and have observed that you may benefit from an increase in authority. Our solution guarantees you a high-quality domain authority score within a period of three months. This will increase your organic visibility and strengthen your website authority, thus making it stronger against Google updates. Check […]

  • Error: Gatsby query was left in the compiled code while testing with vitest

    0 I am working on a Gatsby website and while testing a component with a graphql query using vitest I keep getting this error : Error: It appears like Gatsby is misconfigured. Gatsby related graphql calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the […]

  • Apollo Android Client – Cannot access generated classes on classpath

    4 I’ve generated the Apollo classes successfully and can see them in the build directory, however they’re not available on the classpath. Strangely the Enum that is generated is available but the classes themselves aren’t. Running the sample project provided on Apollo’s Github does work but I cant see the difference between the configurations. mcve […]

  • Best practices for GraphQL in general

    0 What are best practices for designing and implementing GraphQL APIs, considering aspects such as schema design, query optimization, error handling, and security? How certain practices contribute to improved performance, maintainability, and overall efficiency in GraphQL development. For example, how you would structure your schema to handle nested queries efficiently. Also what are security concerns […]

  • prevent a trait function from being implemented by other struct

    9 I just build a trait Bar with 2 functions (alpha() with implementation and beta() with only interfaces), and I hope the struct who implement Bar implements only beta(), and never implement their own alpha(). Is there any way to prevent another struct from implementing their own alpha()? trait Bar { fn alpha(&self) { println!("you […]

  • AWS CDK newly added data delay issue to display

    0 I am facing data delay issue in my application. When I add new data it take to much time to display on live site but working fine when I attach live database with my local code. CDK usually take 5 to 20 mints to respond but in my case it taking hours and some […]

  • How to use graphql with remix.run

    0 I have an endpoint https://localhost:1337/graphql where i query a lot of things from strapi but i am trying to use remix.run (tsx) as. my framework, there are no latest tutorials as to how to integrate the graphql endpoint to the remix loaders so that i can query directly from the graphql endpoint. export async […]

  • Why does this AWS AppSync GraphQL query not work?

    0 I am trying to create a appsync resolver to query an aurora-postgresql database. I have created a Movie table and have the following mutations(postMovie) and Queries(listMovies, getMoviesByName, singleMovie). The mutation works just fine and so does the listMovies query but the getMoviesByName and singleMovie(retrieves a movie by id) is not working. The error with […]

  • axios error code 499 for chrome extension

    0 i’m using axios to send some queries to leetcode to access their graphql API. I’m using a chrome extension that reads the necessary cookie credentials so that i can use it as auth for the API. however, I’m getting Request failed with status code 499 errors as a response. my query and cookies work […]