Derek Ellis
08/19/2020, 11:20 PMactual
implementation of a class marked with @JsExport
and some properties like id
or data
. What I'm trying to do is to make it possible for an instance of this class to be passed to some other js library that uses those properties internally. The library accepts plain JS objects, and I think it might even turn it into JSON for validation or something, but in any case the library can't see those properties since with the new IR compiler they are mangled to _id
and _data
and it can't make use of the computed properties defined on the class.
@JsExport
didn't change it, neither did external interface
, so is there any other way to work around this issue? Is this something worth opening an issue for? I don't think there's one dedicated to the name mangling in the new IR compiler yet.rnentjes
08/20/2020, 12:26 PMDerek Ellis
08/20/2020, 12:33 PM