LinkedSoftwareDependencies / Components.js

🧩 A semantic dependency injection framework
https://componentsjs.readthedocs.io/
Other
41 stars 6 forks source link

Throw error when applying args on a ComponentInstance #36

Open rubensworks opened 3 years ago

rubensworks commented 3 years ago

A ComponentInstance is a direct instance, that accepts no further params (such as the RDF/JS datafactory).

We should detect if the user tries to assign args on such instances, and throw an error (or at least emit a warning).