You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason why this happens is because the different result objects have never been designed to be de-serialized from JSON into Dart objects. Normally, you would take the Dart result object and serialize it to JSON (using the toJson function) and save it to a file or database.
We never thought that you would need to read this JSON again and de-serialize it back to the app.
So - if I'm to change this, I need to know why you are doing this. What is the use case?
When deserializing RPTaskResult, all results in results map are deserialized as RPResult, not RPStepResult, resulting in loss of information.
research.package/lib/src/model/result/RPTaskResult.dart
Line 32 in c9ae959
The text was updated successfully, but these errors were encountered: