0 Hi I have a graphql Response after Mutating {{ "carCreate": { "car": { "id": "TestId" } } }} I want to Desealize it I am using The following Code var graphQlClient = new GraphQLHttpClient(AppConfig.GraphQlUrl, new NewtonsoftJsonSerializer()); I have tried to resolve with the following code var response = await graphQlClient.SendMutationAsync<CarCreate>(request); My Created Model is […]
7 Static lambda’s introduced in c# 9 allow us to mark a lambda expression as static to prevent it from capturing instance state. However when you check the .Target property on the lamda it is still set, which is different to when you set an Action to a static method which has no target. Action […]
30 I have a client-server setup, in which the client(create-react-app) runs on localhost:3000 and the server is an express server which is built on node and I’m attempting to build graphql schema-resolvers setup. I’m able to import .graphql files on the server, however, on the client side, I’m using this setup by graphql-tools. When I’m […]
0 I don’t understand AWS Authorization yet. I’m getting this error. GraphQLAPI – ensure credentials error No Cognito Identity pool provided for unauthenticated access I thought by providing an API key this would just work like when you request from any other API. This is my schema: type art @model @auth( rules: [ { allow: […]
0 I have a problem with a circular dependency in a GraphQL model. I’m using Nestjs Graphql MongoDb Mongoose ad I have 3 entities. @ObjectType() @Schema({ timestamps: true }) export class User { @Field(() => ID) _id: string; @Field({ nullable: true }) @Prop({ nullable: true, unique: true }) pseudoDiscord?: string; } @ObjectType() @Schema({ timestamps: true […]
0 Say I have two tables, clubs and posts. Each club can have many posts and my app stores a timestamp for when the user last viewed a post for each club (‘last_viewed’). What I want to do, is query for the number of all new posts (since that club was looked at) and display […]
0 I have been following this link to do an apollo client version upgrade: https://www.apollographql.com/docs/kotlin/migration/3.0/ After completing the section to replace customTypeMapping I am now seeing the following error: Apollo: unknown custom scalar(s) in customScalarsMapping: Date,Currency,Year,Month,Percentage,MediaType,Base64 My build.gradle.kts file has been updated to contain the updated custom scalar mapping methods: mapScalar("Date", "java.time.LocalDate") mapScalar("Currency", "java.util.Currency") mapScalar("Year", […]
0 I’m wondering if there’s a way to filter a nested section with a higher up value – see below: query readSeasons($seasonID: ID) { readSeasons(filter: { id: { eq: $seasonID } }) { nodes { id minimumGamesToRank <—– THIS playerSeasons( filter: { matchesPlayed: { gte: minimumGamesToRank } }, <—– THIS sort: { currentPosition: ASC } […]
0 I’m facing a unusual error while accessing the reset password button. the error: Uncaught (in promise) ApolloError: error:0200009F:rsa routines::pkcs decoding error can anyone help me with this I’m trying to set the new password when i click the reset password button I’m using typegraphql, typeorm, react reactjs typescript graphql typeorm typegraphql Share Follow asked […]