Jaguar-dart / jaguar_serializer

Format (JSON, XML, protobuf, mongodb, etc) and platform (server, client) agnostic serialization framework
172 stars 34 forks source link

Add immutability capabilities #153

Closed jaumard closed 6 years ago

jaumard commented 6 years ago

being able to serialize deserialize immutable models is important in my opinion :) From what I know it's not possible yet

tejainece commented 6 years ago

Do you mean like this? https://github.com/Jaguar-dart/jaguar_serializer/wiki/Immutable-fields

tejainece commented 6 years ago

Here are some examples:

https://github.com/Jaguar-dart/jaguar_serializer/tree/master/jaguar_serializer_cli/test/models/immutable https://github.com/Jaguar-dart/jaguar_serializer/blob/master/jaguar_serializer_cli/test/serializer/fromMap/immutable_test.dart

jaumard commented 6 years ago

Sorry about that I miss it ^^