Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle
Enumerable
values on Repository#delete
A test for `RDF::Enumerable` inputs was added by ruby-rdf/rdf-spec#39. This adds conformance, and allows `SPARQL::Client::Repository` to use the new `Mutable#delete_insert` interface. It does not yet implement an effecient SPARQL `#delete_insert`. It may be possible to refactor `#delete_statements` in response to these changes, to remove the code smells called out in the comment in that method.
- Loading branch information
d9a9ab3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks! We should definitely implement
delete_insert
using SPARQL Update here, but getting the specs to pass is the first step.