Skip to content
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

fix(datastore/flutter): Custom type list serde #2545

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

dnys1
Copy link
Contributor

@dnys1 dnys1 commented Aug 3, 2023

Fixes: aws-amplify/amplify-flutter#3472, aws-amplify/amplify-flutter#3482

The issue of ser/deseralizing custom types was partially fixed by #2350. However, once this was released, customers quickly noticed new issues. The prior fix did not handle arrays of custom types which this PR addresses.

This PR adds verbose logging alongside the fix. The actual code change/fix is here: https://github.com/aws-amplify/amplify-android/pull/2545/files#diff-2add64014d3bad6c0614a14c3bf6f5b84660fdf5393008933484082fb4cd47ddR143

@dnys1 dnys1 requested a review from a team as a code owner August 3, 2023 20:49
Fixes: aws-amplify/amplify-flutter#3472, aws-amplify/amplify-flutter#3482

The issue of ser/deseralizing custom types was partially fixed by #2350. However, once this was released, customers quickly noticed new issues. The prior fix did not handle arrays of custom types which this PR addresses.
@dnys1 dnys1 force-pushed the fix/datastore/flutter-custom-model-list branch from bb5d06e to 1e5b6c3 Compare August 3, 2023 21:22
@tylerjroach tylerjroach merged commit 876067d into main Aug 8, 2023
@tylerjroach tylerjroach deleted the fix/datastore/flutter-custom-model-list branch August 8, 2023 21:04
dnys1 pushed a commit to aws-amplify/amplify-flutter that referenced this pull request Aug 11, 2023
Incorporates aws-amplify/amplify-android#2545 to fix custom list serialization and deserialization on Android.
dnys1 added a commit to aws-amplify/amplify-flutter that referenced this pull request Aug 14, 2023
Incorporates aws-amplify/amplify-android#2545 to fix custom list serialization and deserialization on Android.
dnys1 added a commit to aws-amplify/amplify-flutter that referenced this pull request Aug 14, 2023
Incorporates aws-amplify/amplify-android#2545 to fix custom list serialization and deserialization on Android.
dnys1 added a commit to aws-amplify/amplify-flutter that referenced this pull request Aug 14, 2023
Incorporates aws-amplify/amplify-android#2545 to fix custom list serialization and deserialization on Android.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataStore cloud sync JsonSyntaxException
3 participants