-
Notifications
You must be signed in to change notification settings - Fork 32
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
Properties should be inherited #83
Comments
Oh, that's right. Because the database reference is removed from the property name once the User is created. It's an easy fix, when a subclass of Node is being created it can propagate the db object upwards. But then a user would have to define the Streamer as:
The other option is what @jbajic and I talked earlier about, and that is creating a global instance of db that is going to be used everywhere. Very few users are going to use multiple databases, and we should cater the simplicity to the majority. |
Is it possible to add other properties to the Streamer then? |
Oh, the functionality I mentioned is not implemented, it's a proposal. |
If I don't add property
name
to the classStream
, like this:then I get the following error:
I expected that the
name
property would be inherited.This works for now:
The text was updated successfully, but these errors were encountered: