steveblackmon commented on code in PR #6:
URL: https://github.com/apache/streams-activitypub/pull/6#discussion_r1493960672


##########
streams-activitypub-servlets/src/main/scala/org/apache/streams/activitypub/servlets/WebfingerServlet.scala:
##########
@@ -42,6 +30,11 @@ import scala.util.Try
  * as the default when no Accept is supplied, so that casual use through a
  */
 
+object WebfingerServlet {
+  given webfinger : WebfingerApi = WebfingerGraphImpl.DEFAULT
+

Review Comment:
   WebfingerGraphImpl.DEFAULT will be used by the servlet to fulfill 
   `WebfingerApi.webfingerQuery(request: WebfingerQueryRequest): 
WebfingerQueryResponse`
   unless another implementation is 'given' in a narrower scope than this, or 
is passed as an implicit ('using' in scala 3) to the servlets doWebfingerQuery 
method



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@streams.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to