You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah this would have been addressed in a stalled update that used serial-as, which handles this properly. You can use it instead of @nearBindgen to handle your serialization. Except you would need to change the type of the PersistentVector's generic to Uint8Array and then manually serialize and de-serialize.
Alright. I have made it work by creating an intermediary serialiseable class. But regardless it's not great that this is not clear. I've raise a PR here, so that at least the docs reflect this limitation: near/docs#983
As detailed on [StackOverflow](https://stackoverflow.com/questions/70916471/does-persistentvector-not-support-child-classes)
@nearBindgen
doesn't seem to support child classes.To Reproduce
It throws the following error:
Expected behavior
@nearBindgen
supports complex inheritenceDesktop (please complete the following information):
near-sdk-as
: 3.2.3The text was updated successfully, but these errors were encountered: