What is the state of affairs when it comes to cont...
# arrow
p
What is the state of affairs when it comes to context parameters support? The docs website doesn’t seem to provide any information other than “in the future we may use context parameters”. I’m about to start a green field project and figured it could be worth it to give ArrowKt another try with context parameters in mind. Thank you!
I’m thinking this is the best answer thus far: • arrow-kt.io/community/…/arrow-2-2 • arrow-kt.io/community/…/arrow-2-2-2
s
Hey @P A, It's already there 😄 I guess the documentation is outdated on that topic. It can be found in
arrow.core.raise.context
package, github.com/arrow-kt/arrow/…/context. So you should change your
arrow.core.raise.*
imports mostly by
arrow.core.raise.context.*
👍 2
a
we support context parameters whenever we can, the library is 100% ready for them
👍 1
👍🏾 1
s
I am revamping my Ktor example project to fully leverage context parameters if you want to take a look, github.com/nomisRev/ktor-arrow-example. I made a lot of progress but it's not entirely finished yet.
👍 2
👍🏾 1
w
I've been slowly migrating our project over whenever I touch arrow code and I haven't hit any major issues 🎉 so I'd say it's quite ready!
👍 1
❤️ 1