renew-js / renew-formalism

Abstract formalism
MIT License
0 stars 0 forks source link

Child formalisms should not call fromJson #15

Open tim-kilian opened 4 years ago

tim-kilian commented 4 years ago

Problem

Currently a child formalism have to know that each method need to call the specific fromJson function to assure the plugin contract. But the public methods should only return the ontology objects, because its easier to the customer to just define what he needs.

tim-kilian commented 4 years ago

For this, it could be possible that the child formalisms need to be adjusted.