Autodesk / Autodesk/AutomaticComponentToolkit

NodeJS bindings do not implement inheritance

Open
#77 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
53
Forks
26
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.