-
Notifications
You must be signed in to change notification settings - Fork 53
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
virtuals not working #102
Comments
Hello, So it would be const retrievedThing = await thingModel.get(1);
console.log(retrievedThing.plain({ virtuals: true }).numbers); I am going to look into the possibility to directy access them from then entity instance. |
I see. I was not expecting that as docs state: ''Virtuals are properties that are added to the entities at runtime that are not persisted in the Datastore." But thanks for replying. |
Hello, |
Simplest working example
I get
undefined
for both logs.The text was updated successfully, but these errors were encountered: