DATAREST-511 - Support for executing repository methods returning Optionals.

Added an UnwrappingRepositoryInvokerFactory that transparently unwraps JDK 8 and Guava Optionals to make sure the consuming code works with values or plain nulls correctly.
This commit is contained in:
Oliver Gierke
2015-04-13 08:38:44 +02:00
parent bb933237b0
commit 7c3b93fffd
7 changed files with 402 additions and 2 deletions

View File

@@ -65,6 +65,13 @@
<version>${jackson}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava}</version>
<optional>true</optional>
</dependency>
</dependencies>
</project>