#axelvaindal-events
1 messages ยท Page 1 of 1 (latest)
Sure thing, here is a concrete example of the problem ๐
Sorry for the wait - it's been really busy today
Are you able to cast PreviousAttributes to a Subscription?
Yes, I can but pause_behavior does not exist on type Subscription right ?
oh
nevermind I was looking for pause_behavior instead of pause_collection
I'm a moron
๐
looks like PreviousAttributes is indeed in any case a substract of Subscription in those cases
so manual casting works
If I recall correctly there is a work in progress in the node repo to infer types directly in event (avoiding manual casting), would you happen to know how it's going internally ?
Yeah, PreviousAttributes should always be able a substract of whatever object you get back for that event
Let me check on that other question you have
I'm not seeing an exact match - do you happen to know if there was a github issue for this open already?