Closed minusdavid closed 7 years ago
Thanks!
How often are new CPAN releases made? At the moment, I'm working around this issue in my code, but I'd like to plan ahead to just use the consistent API.
There's no predictable schedule, but a request like this will often give me enough of a push to get one out :) I've packaged up a beta version of it and will get a full release out when passing test results show up. Thanks!
Cheers @kasei! Thanks for that : )
As per issue #149 on Github, RDF::Trine::Store::SPARQL doesn't implement the remove_statements() function interface in accordance with the documentation or all the other RDF::Trine::Store::* modules. It takes ($statement,$context) parameters instead of ($subj,$pred,$ojb,$context) parameters.
This patch keeps this inconsistent behaviour so as to be backwards compatible, but also provides support for the interface referenced in the documentation and implemented by other storage backends.
This patch also includes unit tests to check both sets of parameters with and without context.