hive icon indicating copy to clipboard operation
hive copied to clipboard

Support for HiveList over lazy boxes

Open gruvw opened this issue 4 years ago • 1 comments

Hi, I came across a problem today when I wanted to use HiveList over a lazy box.

I found out on #178 that HiveList was not currently supporting lazy boxes, but I would like to understand why and maybe add support for them ?

Lazy boxes are very useful to load a portion of a large amount of data when (and only when) you need it. I have currently a need to store references to some data in a list form. I understand the possibility to store a List<String> instead, but this is not practical and should result into the package implementation details.

I would like Hive to natively support lazy boxes when constructing a HiveList.

Version

  • Platform: iOS, Android, Mac, Windows, Linux, Web
  • Flutter version: 2.5.3
  • Hive version: 2.0.5

gruvw avatar Dec 31 '21 13:12 gruvw

Hi, Any update about this enhancement request ? Thank you.

LempereurBenjamin avatar Mar 29 '22 07:03 LempereurBenjamin