```Experimental context receivers are deprecated a...
# arrow
p
>
Copy code
Experimental context receivers are deprecated and will be superseded by context parameters. Please don't use context receivers. You can either pass parameters explicitly or use members with extensions.  
> 
> See new context parameters proposal: <https://github.com/Kotlin/KEEP/blob/context-parameters/proposals/context-parameters.md>. During the transition period, neither context receivers nor context parameters will be supported. This warning will become an error in future releases.
As a quick straw poll, how are most of us
context-receivers
lovers expecting to handle the migration? 1️⃣ go full ostrich, ignore it, stick to the last kotlin version that supports
context-receivers
and hope we can wait out the kotlin release that enables
context-parameters
2️⃣ stop using
context-receivers
for the time being, revert to
.bind()
et al, or where possible use
Raise<E>
as an extension receiver 😭 find a corner and cry until it all blows over
1️⃣ 5
😭 15
k
Added an additional cry emoji because that’s what I’ll be doing.
🤣 4
p
I'm just going to assume 😭 is the same as 1️⃣ just with additional tears
👍 1
👍🏾 1
j
f
damn, wasn't that a kotlin feature the newer versions of arrow was kind of relying and counting on? sorry late to the party but if someone could give an eli5/tldr that would be sweet
r
Internally, Arrow arrow doesn’t use context receivers. Btw, context parameters are context receivers under steroids. It’ll not change too much
1062 Views