schultek / dart_mappable

Improved json serialization and data classes with full support for generics, inheritance, customization and more.
https://pub.dev/packages/dart_mappable
MIT License
135 stars 20 forks source link

Code generation broken for Dart 3.3 extension types #172

Closed benthillerkus closed 4 months ago

benthillerkus commented 4 months ago

In generated code, extension types are being typed as InvalidType preventing compilation. Manually fixing these seems to mostly work, though in our test suite there are some cases where encoding / decoding does unexpected things.

benthillerkus commented 4 months ago

Upgrading the build_runner dependency and purging all caches seemed to fix it. Sorry.