diff --git a/java/google/registry/request/RequestScope.java b/java/google/registry/request/RequestScope.java index 7b9122054..d29978bba 100644 --- a/java/google/registry/request/RequestScope.java +++ b/java/google/registry/request/RequestScope.java @@ -25,6 +25,6 @@ import javax.inject.Scope; /** Dagger annotation for request-scoped components that depend on a global component. */ @Scope @Documented -@Target({ElementType.TYPE}) +@Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface RequestScope {}