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
I'm calling entity.create(model).go() where the model is a class instance and has properties that are also class instances modeled in the entity's schema as map attributes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm calling
entity.create(model).go()
where the model is a class instance and has properties that are also class instances modeled in the entity's schema as map attributes.I think this doesn't really work because of
https://github.com/tywalch/electrodb/blob/master/src/schema.js#L44
My outcome is that I get an error message like
Is this what I should expect to see if I'm using a class instance or nested class instance and not simply plain objects?
Beta Was this translation helpful? Give feedback.
All reactions