-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Edit Trip #4
Comments
A few additional things to note that might help with finding the cause of this issue: After the trip name update fails as mentioned above, If I run
The command succeeds but then causes an error in the code. We get a
at
I also noticed that in Part One of the tutorial, I don't believe that Datastore was enabled. However, in the cloned repository, it seems that datastore IS enabled: amplify-trips-planner/amplify/backend/api/amplifytripsplanner/cli-inputs.json Lines 10 to 14 in 51e5b01
|
@tiyberius Thanks for your feedback I'll review and get back to you Regards |
I can also confirm that I've just worked through the entirety of Part One of the tutorial and the edit trip feature works. Additionally, I can confirm that Conflict Detection (and therefore Datastore) is NOT enabled when working through part one of the tutorial. |
I've figured out a workaround for this issue.
However, I believe this is indicative of a larger issue. I was working through this tutorial in order to identify a separate issue around Conflict Detection (Datastore) and any models that have an "owner". So, although I have identified a workaround for the tutorial, there is still a larger issue that remains unsolved: Why doesn't the tutorial work when Conflict Detection IS on? |
@tiyberius Thanks for all the details you shared, very helpful The Conflict Detection is required for DataStore, We recently updated the tutorial to use GraphQL API without datastore, so you don't need to turn it on |
Yes, I understand that Conflict Detection is required for DataStore and if you recently updated the tutorial to use the GraphQL API without DataStore, then my Pull Request should fix that. However, do you know why the trip is unable to be edited (or deleted) when Conflict Detection is on? Shouldn't it work? |
I'll look into that |
Great, thank you. In a separate project, I am using DataStore for a mobile app that I'm trying to release and that is a critical issue holding me up from releasing the app on time. |
@tiyberius Hi, I am planning to use DataStore in one of my project. Is this conflict issue resolved yet or In which scenarios does it not work? |
Hello @Souptik-Coder, I am unsure if this issue is resolved or not. I decided not to use DataStore in my project as it was too slow to start up and too slow to sync. It was causing a bad user experience so I abandoned it in favor of using Flutter Riverpod and API calls. |
I am following this tutorial https://aws.amazon.com/getting-started/hands-on/build-flutter-mobile-app-part-two/module-one/ and it is broken. I have followed the steps on two separate occasions now and I've gotten the same result. I don't know who is writing these tutorials, but it sure doesn't inspire confidence in the Amplify framework. Anyway, here's my environment:
git clone https://github.com/aws-samples/amplify-trips-planner.git
cd amplify_trips_planner
but instead it should sayamplify-trips-planner
because that was the result of the git clone command.flutter pub get
amplify init
amplify push
The text was updated successfully, but these errors were encountered: