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
When defining a one-way relation with belongsTo it errors when it cannot find the inverse relationship - the code below (is from descriptor: { set() })
constid=utils.get(this,idAttribute)constinverseDef=def.getInverse(mapper)// e.g. profile.user !== someUser// or comment.post !== somePostif(currentParent){// e.g. otherUser.profile = undefinedif(inverseDef.type===hasOneType){