-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nearBindgen does not support child classes #695
Comments
Yeah this would have been addressed in a stalled update that used serial-as, which handles this properly. You can use it instead of |
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: |
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: