Skip to content

Commit

Permalink
Fix msg_type regressions
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Mircea <[email protected]>
  • Loading branch information
bobozaur committed Sep 12, 2023
1 parent 529f4f7 commit b3ddc87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions messages/src/msg_fields/protocols/connection/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub struct ResponseContent {

#[derive(Debug, Deserialize, Serialize, Clone, PartialEq)]
pub struct ConnectionSignature {
#[serde(rename = "@type")]
msg_type: SigEd25519Sha512Single,
pub signature: String,
pub sig_data: String,
Expand Down
1 change: 1 addition & 0 deletions messages/src/msg_fields/protocols/cred_issuance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ impl DelayedSerde for CredentialIssuance {

#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
pub struct CredentialPreview {
#[serde(rename = "@type")]
msg_type: CredentialPreviewMsgType,
pub attributes: Vec<CredentialAttr>,
}
Expand Down
1 change: 1 addition & 0 deletions messages/src/msg_fields/protocols/present_proof/propose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ pub struct ProposePresentationDecorators {

#[derive(Debug, Deserialize, Serialize, Clone, PartialEq)]
pub struct PresentationPreview {
#[serde(rename = "@type")]
msg_type: PresentationPreviewMsgType,
pub attributes: Vec<PresentationAttr>,
pub predicates: Vec<Predicate>,
Expand Down

0 comments on commit b3ddc87

Please sign in to comment.