Skip to content

Commit 8d2ebe1

Browse files
committed
chore: update api on TinkerpopRepositoryProxy.java.java
1 parent a1f54c0 commit 8d2ebe1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/mapping/query/TinkerpopRepositoryProxy.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,10 @@ public Object invoke(Object instance, Method method, Object[] args) throws Throw
110110

111111
return DynamicReturn.builder()
112112
.classSource(typeClass)
113-
.methodSource(method)
113+
.methodName(method.getName())
114+
.returnType(method.getReturnType())
114115
.result(() -> result)
115-
.singleResult(toSingleResult(method).apply(() -> result))
116+
.singleResult(toSingleResult(method.getName()).apply(() -> result))
116117
.build().execute();
117118
}
118119

0 commit comments

Comments
 (0)