Election-Tech-Initiative / Election-Tech-Initiative/electionguard-cpp

C# type safety when passing collections across the api surface

未关闭
#212 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement triage
主要语言
C++
星标
26
派生
25
PR 合并指标
30 天内没有已合并 PR

描述

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Suggestion

some objects require a collection in their constructor and take ownership of the collection, such as objects in manifest.cs. this ticket is to fix type safety issues across the dll/pinvoke native interface so that developers do not make transcription mistakes when modifying the library code.

### Possible Implementation

_No response_

### Anything else?

_No response_

贡献指南

打开贡献指南

调研方向

首先检查 manifest.cs,并跟踪集合跨越 API 边界时所经过的原生 DLL/PInvoke 接口。识别 issue 中描述的集合所有权和类型安全性不匹配,然后定义所需的更改,使集合参数保持一致,并防止整个接口中出现转录错误。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp, csharp
领域
api
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。