rdf-connect / ldes-client

The TREE/LDES client to replicate and synchronize LDESs: the RDF Connect processor
https://rdf-connect.github.io/ldes-client/
6 stars 2 forks source link

Add `rdf:type` information to Member and fix ReadableStream types #34

Closed MPvHarmelen closed 1 month ago

MPvHarmelen commented 1 month ago

This pull request contains the changes that I had to make to be able to implement LDES synchronisation with TriplyDB.

ReadableStream

I wanted to use for await (const member of client.stream(...)) { ... } syntax (nodejs documentation).

memberFromQuads

No type for relation id ${relationId.value}

The LDES endpoint that I was developing against had one member without a type, so I had to check this to prevent the Client from crashing.