starke
02/19/2019, 8:54 PMget(): A' is deprecated. This function is unsafe and will be removed in future versions of Arrow. Replace or import `arrow.syntax.unsafe.*` if you wish to continue using it in this way
how does one import arrow.syntax.unsafe.*
? I can’t find that anywherekartoffelsup
02/19/2019, 9:00 PMstarke
02/19/2019, 9:09 PMkartoffelsup
02/19/2019, 9:10 PMstarke
02/19/2019, 9:11 PMkartoffelsup
02/19/2019, 9:12 PMfold
or getOrElse
. Not sure about unsafe
, but I'd recommend using either fold or getOrElsestarke
02/19/2019, 9:15 PMOption.get()
in this project but it’s being used in a couple unit tests in a way that I can’t easily replace (other than doing something like orNull()!!
)
thanks for the reply!kartoffelsup
02/19/2019, 9:19 PMkartoffelsup
02/19/2019, 9:24 PMstarke
02/19/2019, 9:24 PMkartoffelsup
02/19/2019, 9:31 PMgradlew -q dependencyInsight --dependency io.arrow-kt
to see what version of arrow is being usedstarke
02/19/2019, 9:47 PMOption.get()
was removed in 0.8.0. thanks