does anyone know if there are plans to make `annot...
# javascript
f
does anyone know if there are plans to make
annotation class
-es exportable via
@JsExport
at any point? i know there isn't a need for this in terms of applying an annotation on the JS side as there's not really an equivalent language construct there, but given that annotation classes can be instantiated, they can also be used to model data and it seems they could be useful in that context for interop
c
Do you model data with annotation classes?
f
i was considering this approach for a use case much like Retrofit + OkHttp supports for annotations applied to a endpoint definitions as described here: https://blog.christophe-henry.dev/2020/02/23/tweak-your-retrofit-behavior-with-annotations.html in this case, it's possible to apply annotations to Retrofit endpoints (modeled as interface with the implementation at runtime managed by Proxy) and watch for the presence of such annotations in interceptors registered to an OkHttpClient instance that can be provided to the RetrofitBuilder