realm-dart icon indicating copy to clipboard operation
realm-dart copied to clipboard

Support decimal128 datatype

Open sync-by-unito[bot] opened this issue 3 years ago • 1 comments

sync-by-unito[bot] avatar Jul 25 '22 15:07 sync-by-unito[bot]

Plus1 this for us

dotjon0 avatar Jul 25 '22 15:07 dotjon0

Just wondering if there have been any advances on this?

We did review other data types and potential workarounds, but as https://www.mongodb.com/developer/products/mongodb/bson-data-types-decimal128/ mentions, Decimal128 is the only way when dealing with monetary values...

dotjon0 avatar Oct 31 '22 17:10 dotjon0

The challenge here is that dart doesn't have a native decimal type, which means that it's a substantial amount of effort to expose this in a meaningful way. We're exploring some options, but because of the complexities, this will likely be released after some of the lower-hanging features (e.g. AnyRealmValue and maps).

nirinchev avatar Oct 31 '22 21:10 nirinchev

thanks for the update @nirinchev and good to hear its on the way

dotjon0 avatar Oct 31 '22 22:10 dotjon0

amazing! Thanks sooooo much!

dotjon0 avatar May 16 '23 14:05 dotjon0

I think I may have seen decimal128 is now supported (?), if yes when are you planning to release this?

dotjon0 avatar May 26 '23 12:05 dotjon0

I had hoped for this week, but that probably won't happen. But I'll eat my old cap if we don't release next week.

nielsenko avatar May 26 '23 16:05 nielsenko

haha well if you eat your cap @nielsenko ill send you a new one lol! Will look forward to it! Can't wait!

dotjon0 avatar May 26 '23 19:05 dotjon0

@dotjon0 we just released 1.1.0 include Decimal128

nielsenko avatar May 30 '23 15:05 nielsenko

@nirinchev thanks sooooo much, and also for letting me know! Much appreciated

dotjon0 avatar Jun 24 '23 11:06 dotjon0