Autodesk / Autodesk/AutomaticComponentToolkit

NodeJS bindings do not implement inheritance

オープン
#77 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
53
フォーク
26
PR マージ指標
30日以内にマージされた PR はありません

説明

**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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

lib3mf.xml と CObjectIterator 用に生成された NodeJS バインディングから始め、親クラスのメソッドがどのように表現されているか、また MoveNext が欠落しているかを確認します。次に、このバインディングを生成するジェネレーターの経路を追跡し、出力を issue に記載された継承と比較します。CObjectIterator で MoveNext などの継承メソッドを利用でき、ジェネレーターがそれらを一貫して生成できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
go, node.js
領域
tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。