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
It appears that freezed does not generate fromJson/toJson using the previous syntax anymore. That and not knowing the course moving forward prevented me from upgrading to v3. Adding @JsonSerializable annotation didn't help either per the migration_guide.md documentation.
@lume-code Use the abstract or sealed keyword respectively for factory constructors as mentioned at the beginning of the migration guide. The @JsonSerializable annotation is used for the new classic class syntax.
The readme currently contains many examples that are not compatible with the v3 release.
In many cases the "abstract" is missing or the old factory syntax mixes with the new class syntax.
The text was updated successfully, but these errors were encountered: