Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

NodeJS bindings do not implement inheritance

未关闭
#77 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
go, node.js
领域
tooling

调研方向

从 lib3mf.xml 和为 CObjectIterator 生成的 NodeJS 绑定开始;验证其父类方法是如何表示的,以及是否缺少 MoveNext。然后跟踪生成此绑定的生成器路径,并将输出与 issue 中描述的继承关系进行比较。当 CObjectIterator 上可以使用 MoveNext 等继承方法,并且生成器能够一致地生成这些方法时,即视为完成。

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

描述

Problem: NodeJS bindings do not implement inheritance
Source: https://github.com/3MFConsortium/lib3mf/issues/188.

E.g. for [lib3mf.xml]:(https://github.com/3MFConsortium/lib3mf/blob/master/AutomaticComponentToolkit/lib3mf.xml)
Node bindings don't inherit from parent classes, so for example CObjectIterator only has its own methods (GetCurrentObject), and you cannot call MoveNext on it, which results in objects being inaccessible.

@Ugzuzg: could you provide the correct NodeJS code for e.g. the CObjectIterator? I will modify the generator afterwards to produce this.

主要语言
Go
星标
53
派生
28
平均合并
20 小时 3 分钟
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Autodesk/AutomaticComponentToolkit 的其他 Issue

查看 Autodesk/AutomaticComponentToolkit 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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