Replies: 3 comments 3 replies
-
I think you cannot avoid that, but you can probably just introduce a ThreadStatic variable to detect the loop. Like |
Beta Was this translation helpful? Give feedback.
-
Just loop over the properties manually and do not call ToObject()... |
Beta Was this translation helpful? Give feedback.
-
@lekrus I think this is caused by |
Beta Was this translation helpful? Give feedback.
-
Hello,
Here is a simple sample class to handle console.log use case:
Is there a way to pass an object
obj
intoJsConsole.Log
, so it's not converted to C# object first?My goal is to check all the properties of the passed
JsValue
object and skip logging if we haveFunctionInstance
, but now code in getterb
is always called when passing value into CLR class.Beta Was this translation helpful? Give feedback.
All reactions