-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support marshalling C# dynamic
values
#307
Comments
Can you share some relevant snippets of the code?
Do you mean literally C# |
Thanks for your reply. Yes, I am indeed referring to the dynamic type in C#. My project previously utilized electron-edge-js, which supported parameters and return values of type dynamic. However, electron-edge-js has encountered numerous issues, prompting me to attempt a restructuring using node-api-dotnet. |
The main reason To support |
dynamic
values
I updated the title of this issue to make it a feature request for Meanwhile, could you consider alternatives to dynamic typing in C#? Options are:
|
Thanks for your help, I'll try it. |
node-api-dotnet version: 0.7.*
dotnet sdk: .net 6.0
nodejs version: 18.18.1
I tried to excute C# dll methods which is task method , the method parameter and return value's type is dynamic.
I got empty object when i used async/await in nodejs, could someone help me about this problem, thks.
The text was updated successfully, but these errors were encountered: