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
constSeneca=require('..')constsi=Seneca()si.decorate('lorem',function(self){console.log(this===self)})si.add('hello:world',function(args,reply){constdelegate=this.delegate()// logs true (as expected) in master (p4.0.0-t.1.p.1)// logs false (incorrect) in v3.30.0delegate.lorem(delegate)reply()})si.ready(()=>{si.act('hello:world',()=>{})})
The text was updated successfully, but these errors were encountered:
lilsweetcaligula
changed the title
Decoratee is bound to the wrong this-ref in v3.30.0
Decoration is bound to the wrong this-ref in v3.30.0
May 22, 2023
The text was updated successfully, but these errors were encountered: