0 When trying GraphQL in the Playground, I get the following error: Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are […]
0 I am working on a .NET 6 application using GraphQL and System.Text.Json. For the a shared util function: public async Task<GraphQlResponse<T>> Query<T>(string mutation, IQueryInput variables = null) { var content = JsonSerializer.Serialize(new { query = mutation, variables = (object) variables }); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri(baseUrl), […]
2 Graphql mutation operation fails in android but works in AppSync console Error: GraphQL mutate operation failed E/amplify:flutter:api( 4899): NonRetryableException{message=OkHttp client request failed., cause=null, recoverySuggestion=Irrecoverable error} E/amplify:flutter:api( 4899): at com.amplifyframework.api.aws.AppSyncGraphQLOperation$OkHttpCallback.onResponse(AppSyncGraphQLOperation.java:145) E/amplify:flutter:api( 4899): at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) E/amplify:flutter:api( 4899): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) E/amplify:flutter:api( 4899): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) E/amplify:flutter:api( 4899): at java.lang.Thread.run(Thread.java:920) W/AtomicResult(mutate)( 4899): Attempted to send success value after initial […]
6 use 5.016; use warnings "all"; use Data::Dumper; my @abc = (1, 2, 3); my @bbb = @abc[1..2]; my @ccc = @abc[1…2]; my @ddd = @abc[1….2]; say Dumper "@bbb"; # output: ‘2 3’ say Dumper "@ccc"; # output: ‘2 3’ say Dumper "@ddd"; # output: ” Why is there no syntax error in code above? […]
0 I’m trying to check my GraphQL Schema created in SDL using "GraphQL-Voyager", but it always shows all fields are "DEPRECATED" even when none of them are declared as deprecated. For an example, the following simple schema would encounter the issue: schema { query: Query } type Query { get_CONTACTS( id: ID! ): CONTACTS } […]
0 I am using dgraph-js and have an app.ts file which holds all the services variables such like the client stub export const dgraphStub = dgraph.clientStubFromCloudEndpoint( process.env.DGRAPH_URI!, process.env.DGRAPH_KEY! ); export const dgraphClient = new dgraph.DgraphClient(dgraphStub); dgraphClient.setDebugMode(true); Now when I do something in dgraph like below async function GetComment(commentId: string): Promise<IComment> { const txn = dgraphClient.newTxn({ […]
0 I have a public Facebook group and I am trying to get the posts and the author of the post via graphql. My app has been approved by Facebook and I have installed it in my group. Also, it is live My problem is that when I send a get request I can see […]
0 enter image description here I’m trying to add wallet connect provider to my project but after so many tries stuck at one of this error which is not getting by me. Project’s discription: node version: 14.18.3 next: 9 typescript: 5 webpack: 4 I have custom webpack also where i added more loaders. below code […]