Skip to content

Commit 443b03d

Browse files
committed
Add PATCH to HttpMethods enum for service invocation
Adds PATCH to the HttpMethods enum to enable using DaprClient.invokeMethod() with PATCH requests through HTTPEndpoints. This is commonly required for partial updates when calling external REST APIs via Dapr service invocation. Fixes #1622 Signed-off-by: Paul Lindner <plindner@metropolis.io>
1 parent ab44c15 commit 443b03d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/src/main/java/io/dapr/client/DaprHttp.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ public enum HttpMethods {
8585
HEAD,
8686
CONNECT,
8787
OPTIONS,
88-
TRACE
88+
TRACE,
89+
PATCH
8990
}
9091

9192
public static class Response {

0 commit comments

Comments
 (0)