zazuko / clownface

Simple but powerful graph traversing library for RDF
https://zazuko.github.io/clownface/
37 stars 8 forks source link

Add option to provide custom factory for terms #26

Closed bergos closed 4 years ago

bergos commented 4 years ago

Currently all terms are generated using the @rdfjs/data-model factory. It should be possible to use a custom factory. The factory should be given as option to the constructor and the class instance keeps the factory and uses only the given factory to create Term instances.

martinmaillard commented 4 years ago

This issue can be closed