For guardrails, is there anything that checks for ...
# orbit-mvi
k
For guardrails, is there anything that checks for people using vars or mutable state in data classes? Something like what mavericks has done: https://airbnb.io/mavericks/#/debug-checks
a
no not currently, we had internally discussed creating some detekt checks... for one we've seen a few bug reports where ppl have not stored the container in a backing field and it would be great to spot that rather than an issue raised on the project
k
Might be good to start an issue and make a list of guardrails.... You wouldn't believe the strange stuff people do 🙂
a
k
also got bit by not adding in .subscribeOn() before .await() for the RxJava interop...that'd be a nice lint guardrail too 🙂 Didn't seem to harm anything, but I did forget to do it..