Closed
Description
It's currently not possible to define interfaces with the @Argument
parameter annotation.
i,e:
interface HelloWorld {
@QueryMapping
String helloWorld(@Argument String name);
}
@Controller
class HelloWorldImpl implements HelloWorld {
@Override
String helloWorld(String name) {
return "Hello "+name;
}
}
This doesn't work and requires the implementation to also be annotated.