flutterfire icon indicating copy to clipboard operation
flutterfire copied to clipboard

Fix listDeserializer casting issue in firebase_data_connect

Open google-labs-jules[bot] opened this issue 1 week ago • 1 comments

Fixed a bug in firebase_data_connect where listDeserializer would throw a TypeError when processing JSON lists because of an incorrect cast from List<dynamic> to List<T>. Modified listDeserializer and listSerializer in optional.dart to accept List<dynamic> inputs. Added regression tests in test/src/optional_regression_test.dart to verify the fix.


PR created automatically by Jules for task 6001879865263701345 started by @maneesht

google-labs-jules[bot] avatar Dec 04 '25 19:12 google-labs-jules[bot]