Closed baramofme closed 3 months ago
how could these two objects not same?
let commonEventObj = new CommonEvent(RULES.CONVERT.eventPropertyExtractionRules,CALENDAR_IDS)
let commonEventObj2 = commonEventObj.importFromNotion(notionDbPage,UTIL)
OK, instead return proxy directly, I stored it member variable. and inside importFromNotion method, I returned saved one.
It's working now.
maybe 'this' context no point to proxy object
Test result show, there are no converted CommonEvent props. and I try to access that props with dot notation but, returns undefined. proxy geter no working.
https://stackoverflow.com/questions/36372611/how-to-test-if-an-object-is-a-proxy