smotastic / smartstruct

Dart Code Generator for generating mapper classes
35 stars 18 forks source link

Mapper fails on stable version of flutter 2.10.0 & dart 2.16.0 #51

Closed jeffmilanes closed 2 years ago

jeffmilanes commented 2 years ago

When i upgrade the flutter version i got this error when generating mapper on version 1.2.4+1

Mapper got case insensitive fields and contains fields: box and box. If you use a case-sensitive mapper, make sure the fields are unique in a case insensitive way.

I tried to upgrade the package to 1.2.6 but i got this error Because smartstruct_generator >=1.2.5 depends on path ^1.8.1 and every version of flutter_test from sdk depends on path 1.8.0, smartstruct_generator >=1.2.5 is incompatible with flutter_test from sdk. So, because app depends on both flutter_test from sdk and smartstruct_generator ^1.2.6, version solving failed.

jeffmilanes commented 2 years ago

This is now working after i restart my computer.