-
Notifications
You must be signed in to change notification settings - Fork 83
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
Sovrin-specific DDO facade #871
Conversation
Codecov Report
@@ Coverage Diff @@
## main #871 +/- ##
==========================================
- Coverage 49.89% 48.88% -1.02%
==========================================
Files 432 432
Lines 35058 34337 -721
Branches 7610 7606 -4
==========================================
- Hits 17493 16784 -709
+ Misses 12288 12275 -13
- Partials 5277 5278 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
c6b6551
to
abb2945
Compare
d5ffa6c
to
d0279a6
Compare
abb2945
to
bb637aa
Compare
d0279a6
to
19d0d81
Compare
bb637aa
to
acc3450
Compare
19d0d81
to
4107359
Compare
95056f1
to
701dc8d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left some comments
After this PR, perhaps it's really time to put all the did/ddo stuff into a directory, the number of crates is quite expanding, but I really like the separation of concerns in each of them
pub mod didcommv2; | ||
|
||
#[derive(Serialize, Clone, Debug, PartialEq)] | ||
pub enum AcceptType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's not much documentation about this even, is there?
Can't see much at https://sovrin-foundation.github.io/sovrin/spec/did-method-spec-template.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Default)] | ||
#[serde(rename_all = "camelCase")] | ||
pub struct ExtraFieldsDidCommV2 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just wondering, what is this based on? How did you find out what this should look like?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Sovrin method spec you linked in the comment above.
51392ce
to
b67aa3e
Compare
820fef6
to
5431cdf
Compare
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
100c2bd
to
87498b4
Compare
Introduces wrappers around
DidDocument
andService
in order totype
andaccept
fields based on the composition of the service extra fields,did_resolver_sov
,service
field, etc.).