-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Hi,
In NET library that I am using, I have two overloaded methods: x(guid) and x(string).
When calling x('aaa') from JavaScript, marshaller can't decide which method to call which results in TypeError: Multiple overloads were found for the supplied argument types.
I have tried creating both System.String and System.Guid objects in JavaScript and passing it to x, however this results in TypeError: A string was expected: Error in GetValueStringUtf16 at D:\a\_work\1\s\src\NodeApi\JSValue.cs:521
Is there any other way to overcome this in pure JavaScript without resorting to creating some proxy method in C#?
Metadata
Metadata
Assignees
Labels
No labels