-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API advertised in documentation/samples is now internal
#84
Comments
Hmyea, I didn't realize we've already merged stuff in the 2.0.0 milestone. That's a bit unfortunate. We should probably branch out to |
I'll try to do this branch today. Apologies for the oversight. @sblom I'll also check the docs for breakages today. |
this ok: https://github.com/linked-data-dotnet/json-ld.net/tree/support/1.x ? |
@sblom do you think we should support RDFDatasetUtils as a public API going forward? I can see the value in it but it seems like it ought to belong to a different repo - it's not really part of the core json-ld spec is it? |
Since it's branched out from be00189, just before the merge of #77, it should be good. 👍 |
@asbjornu, @sblom I believe that this is now fixed by the support/1.x branch. Except for the samples shown in:
The design decision taken to expose RDF data as a custom The interface is also not uniform - in the sense that I propose that:
public interface IRDFParser
{
string ParseToNQuads(JToken input);
} |
I agree the current design is sub-optimal, @goofballLogic. But I'm not fond of returning |
I don't quite understand - we already control RDFDataset - it's just a class which we authored. How is what you are suggesting any different? FromRDF already accepts a string in NQuads format - doesn't it make sense to also return data this (standard) way rather than some custom class? We can always provide an extension library (like we are suggesting for System.Text.Json and Newtonsoft.Json) which enhances the text-based interface if people want the typed interaction. |
PR #77 marked
RDFDatasetUtils
asinternal
, which broke a couple of samples from our published documentation. There may be some other static utility methods that got hidden by this as well. I agree with the original intent of #76, but it looks like we need to put a little more thought into what use cases we intend to support./cc @goofballLogic
The text was updated successfully, but these errors were encountered: