Changeset 2:db5652b28e13

Added deserializer
author unexist
date Sun, 14 Feb 2021 20:52:28 +0100
parents 207bb82a0645
children 69623799748c
files src/main/java/dev/unexist/showcase/todo/infrastructure/deserializer/TodoDtoDeserializer.java
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/java/dev/unexist/showcase/todo/infrastructure/deserializer/TodoDtoDeserializer.java	Sun Feb 14 20:52:28 2021 +0100
@@ -0,0 +1,21 @@
+/**
+ * @package Quarkus-Testing-Showcase
+ *
+ * @file Todo Dto deserializer
+ * @copyright 2021 Christoph Kappel <christoph@unexist.dev>
+ * @version $Id$
+ *
+ * This program can be distributed under the terms of the GNU GPLv2.
+ * See the file LICENSE for details.
+ **/
+
+package dev.unexist.showcase.todo.infrastructure.deserializer;
+
+import dev.unexist.showcase.todo.domain.todo.TodoDto;
+import io.quarkus.kafka.client.serialization.ObjectMapperDeserializer;
+
+public class TodoDtoDeserializer extends ObjectMapperDeserializer<TodoDto> {
+    public TodoDtoDeserializer() {
+        super(TodoDto.class);
+    }
+}
\ No newline at end of file