spkersten / dart_functional_data

Simple and non-intrusive code generator for lenses and boilerplate of data types
https://pub.dev/packages/functional_data
MIT License
41 stars 15 forks source link

Generics are ignored #35

Open laurenskz opened 7 months ago

laurenskz commented 7 months ago

For a class like:

class Holder<T>{
   final T t;
   Holder(this.t);
}

The generated Lenses remove the type parameter. It would be nice to have a lens of type Lens<Holder<T>,T> but instead we get Lens<Holder,T> which does not compile.