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

`Optional<T>` does not override equality test #14

Closed werediver closed 4 years ago

werediver commented 4 years ago

As of now the embedded Optional\<T> does not override the equality test ==, which complicates testing equality of structures with optionals (not only classes with optional members, but also collections with optional items).

Discovered by @alexei-sintotski, opening a ticket for the sake of documenting the issue.

spkersten commented 4 years ago

Now Optional from plain_optional is used.