Skip to content

Commit 71b2138

Browse files
committed
chore: update api on SolrRepositoryProxy.java
1 parent 89e4e05 commit 71b2138

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

jnosql-solr/src/main/java/org/eclipse/jnosql/databases/solr/mapping/SolrRepositoryProxy.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,11 @@ public Object invoke(Object instance, Method method, Object[] args) throws Throw
107107

108108
return DynamicReturn.builder()
109109
.classSource(typeClass)
110-
.methodSource(method)
110+
.methodName(method.getName())
111+
.returnType(method.getReturnType())
111112
.result(result::stream)
112-
.singleResult(toSingleResult(method).apply(result::stream))
113+
.singleResult(toSingleResult(method.getName())
114+
.apply(result::stream))
113115
.build().execute();
114116
}
115117
return super.invoke(instance, method, args);

0 commit comments

Comments
 (0)