-
Notifications
You must be signed in to change notification settings - Fork 445
Closed
Description
Please consider using macros in future Dart 3 for serialization support, there are several benefits:
- No need to introduce extra packages
- No need to run additional commands to produce auxiliary content
Macros are not officially added to Dart yet, but there is an example here https://github.com/dart-lang/language/blob/master/working/macros/example/lib/json_serializable.dart
It's too early to request this feature, but I think we can discuss feasibility and implementation issues early.
peer-f