I am starting lagom and going through the doc and found this sample code :
(我正在启动lagom并仔细阅读文档,发现以下示例代码:)
named("hello").withCalls(
namedCall("hello", sayHello)
)
And when implemented using REST, it says this call will have a path of /hello.
(当使用REST实现时,它表示此调用的路径为/ hello。)
Now the question is , /hello
refers to which hello, first "hello" in named("hello")
or second hello in namedCall("hello")
and does this both "hello" name should have to be same ?
(现在的问题是, /hello
指您好,首先“你好” named("hello")
或第二打招呼namedCall("hello")
并做到这一点都“你好”的名字应该是一样的吗?)
ask by phineas translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…