Apadmi-Engineering / Mockzilla

MIT License
29 stars 8 forks source link

Update Pigeon models to use non-nullable generics #209

Open TomRHandcock opened 2 weeks ago

TomRHandcock commented 2 weeks ago

The release of Pigeon 22.4.0 allows for non-nullable generics in collections (i.e. List, Map). We should upgrade Pigeon and refactor the models to take advantage of this as dealing with nullable generics is a bit of a pain in the Dart-side marshalling.

TomRHandcock commented 2 weeks ago

Given we have kept our version constraint of Pigeon fairly low to maximise compatibility with projects that may not be on the latest release of Pigeon, I'm inclined to say that this change should be based upon and go on to the flutter-v1 branch to form part of the 1.0 breaking release.