Skip to content
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

Cross representation interoperability considered harmful #5

Closed
OR13 opened this issue May 11, 2021 · 4 comments
Closed

Cross representation interoperability considered harmful #5

OR13 opened this issue May 11, 2021 · 4 comments
Assignees

Comments

@OR13
Copy link
Contributor

OR13 commented May 11, 2021

As discussed on: #3

There are proposals on both sides of the statement:

"DID Method Implementers SHOULD strive to make representations interoperable."

In order to make concrete recommendations to implementers, we must consider did resolution and did dereferencing "by representation" in addition to "by did method".

Software implementations that conflate dereferencing with resolution or that assume all representations handle dereferencing the same way lead to developer burden and tooling requirements, which we can encourage developers to forward to consumers or internalize in their did method construction.... hence recommendations should be made in the implementation guide for folks who intend to support did+json and did+ld+json vs ONLY did+json or ONLY did+ld+json.

This is to track ongoing lack of consensus regarding did+json and did+ld+json interoperability guidance for did method implementers.

@OR13 OR13 mentioned this issue May 11, 2021
@OR13
Copy link
Contributor Author

OR13 commented May 11, 2021

Related issue: digitalbazaar/jsonld-signatures#141

@csuwildcat
Copy link
Contributor

I am with Orie on this: devs don't care about the irrelevant nerd-differences between these curly brace objects, and we should make it as easy for them not to care as humanly possible.

@peacekeeper
Copy link
Contributor

I agree with every word @OR13 wrote above, but disagree with his conclusion and recommendation that application/did+json and application/did+ld+json representations of DID documents should both be JSON-LD.

@OR13
Copy link
Contributor Author

OR13 commented May 11, 2021

In order to get the PR approved, I had to remove this paragraph:

      <p>
        If a DID Method supports both <code>application/did+json</code> and
        <code>application/did+ld+json</code>, it is recommended that they both
        include an <code>@context</code> and that both be capable of
        supporting linked data proofs, document loaders and related JSON-LD tooling.
      </p>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants