aws-appsync Questions

2

Solved

I'm deploying some REST apis using API Gateway and Lambda Functions. Because of some architectural restrictions, the API must be available only by REST endpoints. On top of the API's I need to impl...
Doubloon asked 22/8, 2019 at 14:22

3

I've been having issues getting started with React, Apollo, and AWS-AppSync. I can't resolve this error message: TypeError: this.currentObservable.query.getCurrentResult is not a function I'm us...
Zwart asked 22/3, 2020 at 20:4

1

Solved

I want to know if having a circular reference in AWS Appsync possible or not? I have searched a lot but couldn't find it. Something like this: type Post { title: String! content: String! user: U...
Unstressed asked 14/10, 2021 at 8:33

2

Solved

How to sort on a field in amplify graphql api? I am trying to sort on a field while getting a list of an model. Eg: Sorting on createdDate in listOrder query. Any help please?
Tabu asked 7/6, 2019 at 4:59

2

We have existing database in dynamodb for our application. For one of our new React app, we want to use AWS Amplify and we are trying to use the existing tables. I created a skeleton project and we...
Virendra asked 3/1, 2021 at 18:43

0

I have one big appsync graphql application running on AWS. FE is calling this Appsync as backend interface. I also have a few small appsyncs running from other teams. I am thinking to combine them ...
Platy asked 3/9, 2021 at 4:38

2

I’m building an offline application which needs to store around 30,000 records. Will AWS AppSync have any performance issues with a data set of this size? I’ve used redux w/ redux-persist in the ...
Immensurable asked 17/10, 2018 at 19:40

0

The problem When I run CodeBuild inside of Amplify, my AppSync credentials are overwritten, breaking the build. Details I'm building a ReactJS site using AWS Amplify as the backend. The project is ...

2

Solved

I get a TypeScript type autogenerated from AWS-Amplify GraphQL (which uses apollo-codegen I believe) like such: export type GetNoteQuery = { getNote: { __typename: "Note", id: string, createdA...
Taoism asked 3/11, 2019 at 18:24

3

Solved

When we request a GraphQL query, for instance, query GetPost { singlePost(id: 123) { id title } } and we have configured a Lambda resolver in AWS AppSync, the request mapping template, { &quo...
Arta asked 5/7, 2019 at 9:31

5

Iam new to graphql.Iam implementing a react-native app using aws appsync.Following is the code i have written in schema type Messages { id: ID! createdAt: String! updateAt: String! text: String! ...
Puparium asked 30/5, 2018 at 4:26

1

I am calling this graphql subscription on my react app: export const OnCreateMessage = ` subscription OnCreateMessage($conversationId: ID!) { onCreateMessage(messageConversationId: $conversationI...
Betancourt asked 3/4, 2021 at 20:35

1

I'm currently in the process of implementing a subscription mutation within AWS Lambda using AppSync. I want to use IAM and avoid using any other type of AUTH mechanism as I'm calling it within the...
Storiette asked 24/4, 2021 at 16:0

3

I'm trying to batch put a number of items to DynamoDB using AppSync. When I call the resolver it throws no errors but nothing is saved to the database. Schema type BoxScore @model { id: ID! use...

2

Is it possible to have custom filtering logic on subscription in AWS AppSync? As I know, current behavior is: e.g. my schema is like the following type Mutation { createEvent(userId: ID!, event:...
Reaper asked 26/4, 2018 at 7:53

4

I have setup AppSync with a Schema and Resolvers. I can export the Schema to a file, but I cannot see how to export the Resolvers. I want to store these in a file so that I can source control them...
Lexicon asked 15/11, 2018 at 4:8

3

Solved

I am having a very hard time to figure out how to handle unauthenticated users in a React app which uses AWS Amplify and AWS AppSync. Seems like most docs suggest to wrap the whole app with withAut...
Neary asked 13/12, 2018 at 16:22

2

AWS-Amplify provides a couple of directives to build an GraphQL-API. But I haven't found out how to ensure uniqueness for fields. I want to do something like in GraphCool: type Tag @model @search...
Stokes asked 4/1, 2019 at 10:52

4

Solved

I have a general question about developing serverless applications and AWS AppSync in particular. We're thinking about going serverless for a small project and I'm wondering how people generally se...
Songwriter asked 28/5, 2018 at 6:10

6

Solved

In AWS AppSync, arguments send on the main query don't seem to be forwarded to all children resolvers. type Query { article(id: String!, consistentRead: Boolean): Article book(id: String!, consi...
Imponderable asked 26/9, 2018 at 7:14

3

Solved

I am using AWS Amplify to set up an AppSync GraphQL API. I have a schema with an @model annotation and I am trying to write a lambda resolver that will read/write to the DynamoDB table that @model ...

1

I am using AWS Amplify to build a Web Application. I am using Appsync and DynamoDb and I've defined my GraphQL schema. Now, Amplify offers the ability to test local GraphQL endpoints by running &qu...
Desiderata asked 9/11, 2020 at 7:39

2

Is it possible to respond with graphql Union from a python lambda? How? It seems possible but I cannot get it over the line. I am including a __typename attribute but most of the time I get this er...
Confabulation asked 14/10, 2020 at 0:32

0

We are launching an Appsync project to production soon, and my team are suggesting to introduce blue/green deployment to reduce possible downtime, with the ability to rollback to the original schem...
Bathsheb asked 28/10, 2020 at 0:42

2

I am using AppSync for my APP. Here is a quick look of my Schema.graphql file type Item @model @auth(rules: [ { allow: public, provider: apiKey, operations: [read] }, { allow: groups, groups: [...
Susannesusceptibility asked 26/3, 2020 at 22:57

© 2022 - 2024 — McMap. All rights reserved.