didcomm-rust icon indicating copy to clipboard operation
didcomm-rust copied to clipboard

In DID Comm V2 - body MUST be a JSON object

Open FabioPinheiro opened this issue 2 years ago • 0 comments

What

Give a brief description of the objective of this issue. What needs to be discussed?

  • User stories are good: As a [user] I want [to be able to do X] so that [I can achieve Y]
  • Team actions are also good: As a team we [should explore X] so that [we can do Y]

According to DID Comm V2 specs the body on the Plaintext Message MUST be a JSON object.

In most examples on this list, the JSON string is used instead ("example-body")

Why

Explain why you think this issue needs to be addressed and why it should be addressed in this repo.

  • What evidence do you have that it will be a requirement for this project?
  • What evidence do you have that it meets the needs of the users of this project?
  • Have you checked that a similar issue or resolution doesn't already exist? If so link to it and explain any shortcomings

Just to follow the specs

Success Criteria

Explain what actions or decisions need to be completed to close this issue.

  • Using a task list here can be helpful to track progress.

The Plaintext Message MUST have a JSON object in the body in DID Comm v2.0. In DID Comm v2.1 this body is optional but also needs to be a JSON object if present.

Anything else

Include links to any examples, research or code that support this issue.

DID Comm V2 specs

Before submitting:

  • Add appropriate labels for 'type:' and 'related to:'
  • Add an assignee if you want to direct this issue at a particular individual

FabioPinheiro avatar Apr 27 '23 17:04 FabioPinheiro