kotlinx-atomicfu icon indicating copy to clipboard operation
kotlinx-atomicfu copied to clipboard

Prohibit to use atomicfu for public API (public & protected)

Open bashor opened this issue 5 years ago • 0 comments

The ideal solution is providing custom checks for frontend. Harder to implement since it requires a new integration, but will provide the best DX -- early error, including inside IDE.

Acceptable solution -- report diagnostic from the backend. Simpler to implement, but likely still requires to extend current API, anyway it's better than crash the compiler or a user application.

bashor avatar Jan 30 '20 19:01 bashor