You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@VerbClientDefinition(
name = "theVerb",
module = "example"
)
public interface TheVerbClient extends VerbClient<String, Long> {
long call(@NotNull String value);
}
Compilation of this client fails with:
[ERROR] <module>/TheVerbClient.java:[13,8] call(@org.jetbrains.annotations.NotNull String) in ftl.example.TheVerbClient clashes with call(P) in xyz.block.ftl.VerbClient
[ERROR] return type long is not compatible with java.lang.Long
The text was updated successfully, but these errors were encountered:
When a Java module depends on a verb with primitive response type, and non-primitive param type, the generated Java verb client doesn't compile.
The generated client should use boxed types instead of primitives to match the
xyz.block.ftl.VerbClient
interface.This verb:
Creates this generated client:
Compilation of this client fails with:
The text was updated successfully, but these errors were encountered: