ResultSet should be serializable
Using spring-boot exposing a service to retrieve a cipher query result using ResultSet RedisGraph.query(String graphId, String query). Exposed a Rest API to execute this service but receive :
“Type definition error: [simple type, class com.redislabs.redisgraph.impl.resultset.StatisticsImpl]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class com.redislabs.redisgraph.impl.resultset.StatisticsImpl and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.redislabs.redisgraph.impl.resultset.ResultSetImpl[\“statistics\“])”