-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
@jiyoontbd thoughts on making e2e file an integration test of |
@michaelneale is the current state of |
Yep the server is just a placeholder - can move it |
@mistermoe yeah after you merge (or part of this) could move it out, or just don't publish the server? #23 is the issue BTW. I opened up branch: https://github.com/TBD54566975/tbdex-kt/tree/impl-server-scaffold - which has the changes as they were, if you remove them from this branch, just open that issue with it linked to it for future reference if you like. |
@@ -6,7 +6,6 @@ import io.ktor.server.application.Application | |||
import io.ktor.server.testing.handleRequest | |||
import io.ktor.server.testing.withTestApplication | |||
import org.junit.jupiter.api.Test | |||
import tbdex.server.tbdex.sdk.http_server.module |
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.
Should we add UnusedImports
to our detekt config? @phoebe-lew any thoughts?
style:
UnusedImports:
active: false
Totally good with me if you'd like to move the e2e.kt into httpclient in this PR :) |
@@ -51,7 +51,7 @@ object CryptoUtils { | |||
// or just `#fragment`. See: https://www.w3.org/TR/did-core/#relative-did-urls. | |||
// Using a set for fast string comparison. DIDs can be long. | |||
val verificationMethodIds = setOf(parsedDidUrl.didUrlString, "#${parsedDidUrl.fragment}") | |||
val assertionMethods = didResolutionResult.didDocument.assertionMethodVerificationMethodsDereferenced | |||
val assertionMethods = didResolutionResult.didDocument.assertionMethodVerificationMethodsDereferenced ?: listOf() |
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.
could also do emptyList()
:)
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.
oo good call!
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.
done 802f4ce thanks @jiyoontbd !
Do we want to go ahead and bump to implementation("com.github.TBD54566975:web5-kt:0.0.5-beta") |
yep good call @KendallWeihe. on it |
Co-Authored-By: Jiyoon Koo <[email protected]>
@KendallWeihe bumped. thoughts on surfacing |
Yeah it's the same question we're puzzling over in
|
What's Changed
verify
- defaultassertionMethods
to an empty list if null