microsoft / microsoft/node-api-dotnet
Support marshalling C# `dynamic` values
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 783
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported case with node-api-dotnet 0.7.*, .NET 6.0, and Node.js 18.18.1: call a C# DLL task method whose parameter and return types are dynamic, using async/await. Trace how the dynamic result is marshalled and define done as returning the expected object rather than an empty object.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, nodejs
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100