Razi Kheir
12/04/2019, 1:49 AM"Unresolved reference. None of the following candidates is applicable because of receiver type mismatch"
I wonder if the issue is me injecting also other things into the handler that returns an HttpHandlerapi/v1/test
Get a specific test:
api/v1/tests/123132
"/test" / Path.string().of("testId", "A Specific Test") meta {} bindContract Method.GET to handler(injectedService)
handler(injectedService: InjectedService) = {
test: String? -> { _: Request -> internalHandler(injectedService).invoke(test)
}}
I wonder if this is the right way to do this…
Also now I get this route only for
api/v1/test/{testId}
But get 404 on
api/v1/test/
dave
12/04/2019, 6:22 AMRazi Kheir
12/04/2019, 6:26 AMdave
12/04/2019, 6:34 AMRazi Kheir
12/04/2019, 8:37 AM