Aws-mobile-appsync-sdk-js: Missing deltasync example in this tutorial

Created on 29 Jan 2019  路  3Comments  路  Source: awslabs/aws-mobile-appsync-sdk-js

Do you want to request a feature or report a bug?
Feature

Request
Implementation patterns from this example follow typical Apollo guidelines and use its recomposing pattern while the Amplify documentation suggests a simpler alternative, making the two tutorials inconsistent.

documentation

Most helpful comment

I would definitely like to see a deltaSync example for React-Native. I am running into problems getting it to work and can't seem to find a good working example.

A more in-depth example for React-Native would be nice as well. I found this repo, but it doesn't cover the attractive features of AppSync in my opinion.

It would be nice if the example included

  • disableOffline config
  • complexObject upload
  • used all of the helper functions: buildMutation, buildSubscription, buildSync
  • implemented at least the base query functionality of deltaSync with fetch-policy cache-only

All 3 comments

I would definitely like to see a deltaSync example for React-Native. I am running into problems getting it to work and can't seem to find a good working example.

A more in-depth example for React-Native would be nice as well. I found this repo, but it doesn't cover the attractive features of AppSync in my opinion.

It would be nice if the example included

  • disableOffline config
  • complexObject upload
  • used all of the helper functions: buildMutation, buildSubscription, buildSync
  • implemented at least the base query functionality of deltaSync with fetch-policy cache-only

I am also having a hard time getting started with Amplify/AppSync and RN. Some tutorials seem broken, graphql code generated by amplify doesn't work with offline helper functions. @ChrisFieldsII have you been able to find a better example project?

I have not been able to find a better example project but I have been able to implement complexObject upload, use of the all of the helper functions, and deltaSync. Maybe I can help answer any questions you might have @AndrewMorsillo

Was this page helpful?
0 / 5 - 0 ratings